rev 1446 - trunk/siesta/lib

[prev] [thread] [next] [lurker] [Date index for 2003/10/17]

From: richardc
Subject: rev 1446 - trunk/siesta/lib
Date: 17:12 on 17 Oct 2003
Author: richardc
Date: 2003-10-17 17:12:27 +0100 (Fri, 17 Oct 2003)
New Revision: 1446

Modified:
   trunk/siesta/lib/Siesta.pm
Log:
make the error not fecking lie


Modified: trunk/siesta/lib/Siesta.pm
===================================================================
--- trunk/siesta/lib/Siesta.pm	2003-10-17 16:08:10 UTC (rev 1445)
+++ trunk/siesta/lib/Siesta.pm	2003-10-17 16:12:27 UTC (rev 1446)
@@ -175,9 +175,8 @@
 
     my $body;
     $tt->process($template, \%opts, \$body)
-      or die "Couldn't process message template
-                        '${Siesta::Config::ROOT}/messages/$template'
-                        because : ",$tt->error();
+      or die "Couldn't process message template '$template' because: "
+        . $tt->error(). "\nSearch path was: '$Siesta::Config::MESSAGES'";
 
     return $body;
 }

Generated at 13:57 on 01 Jul 2004 by mariachi 0.52