[prev in list] [next in list] [prev in thread] [next in thread] 

List:       intermezzo-cvs
Subject:    CVS: intermezzo/lento/Lento Replicator.pm,1.61,1.62
From:       Phil Schwan <pschwan () users ! sourceforge ! net>
Date:       2001-10-23 0:48:23
[Download RAW message or body]

Update of /cvsroot/intermezzo/intermezzo/lento/Lento
In directory usw-pr-cvs1:/tmp/cvs-serv30715

Modified Files:
	Replicator.pm 
Log Message:
Made the bad-UUID failure a little less abrasive, and more informative.


Index: Replicator.pm
===================================================================
RCS file: /cvsroot/intermezzo/intermezzo/lento/Lento/Replicator.pm,v
retrieving revision 1.61
retrieving revision 1.62
diff -U2 -r1.61 -r1.62
--- Replicator.pm	2001/10/23 00:44:50	1.61
+++ Replicator.pm	2001/10/23 00:48:21	1.62
@@ -100,5 +100,7 @@
         my $tmp;
         if (UUID::parse($self->{uuid}, $tmp) == -1) {
-            confess "Unable to parse UUID ($self->{uuid})";
+            print "Unable to parse this system's UUID ($self->{uuid})\n";
+            print "Is it of the form aabbccdd-eeff-gghh-iijj-kkllmmnnoopp?\n";
+            die;
         }
         my $buf = pack("a16IIIIIII", $tmp, 0, 0, 0, 0, 0, 0, 0);


_______________________________________________
intermezzo-commit mailing list
intermezzo-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/intermezzo-commit

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic