[Jifty-commit] r612 - in jifty/trunk: lib/Jifty

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Tue Feb 21 21:55:23 EST 2006


Author: alexmv
Date: Tue Feb 21 21:55:21 2006
New Revision: 612

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

Log:
 r9225 at zoq-fot-pik:  chmrr | 2006-02-21 21:54:39 -0500
  * Check that require'ing the dispatcher returns a true value


Modified: jifty/trunk/lib/Jifty/Handler.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Handler.pm	(original)
+++ jifty/trunk/lib/Jifty/Handler.pm	Tue Feb 21 21:55:21 2006
@@ -152,7 +152,7 @@
     ));
 
     $self->dispatcher(Jifty->config->framework('ApplicationClass')."::Dispatcher");
-    $self->dispatcher->require;
+    $self->dispatcher->require or Jifty->log->error("Compile error in ".$self->dispatcher.": $@");
     $self->dispatcher->handle_request();
 
     $self->cleanup_request();


More information about the Jifty-commit mailing list