[Jifty-commit] r3788 - in jifty/trunk: lib/Jifty/Plugin

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Sat Aug 4 18:31:00 EDT 2007


Author: sterling
Date: Sat Aug  4 18:31:00 2007
New Revision: 3788

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Plugin/Chart.pm

Log:
 r8370 at dynpc145:  andrew | 2007-08-04 17:29:36 -0500
  r8356 at dynpc145:  andrew | 2007-08-04 16:33:13 -0500
  Added better error handling on renderer require.
 


Modified: jifty/trunk/lib/Jifty/Plugin/Chart.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/Chart.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/Chart.pm	Sat Aug  4 18:31:00 2007
@@ -108,7 +108,8 @@
     return $renderer if defined $renderer;
 
     # Tell perl to load the class
-    $renderer_class->require;
+    $renderer_class->require
+        or warn $@;
 
     # Initialize the renderer
     $renderer = $renderer_class->new;


More information about the Jifty-commit mailing list