[Jifty-commit] r7341 - jifty/trunk/lib/Jifty

Jifty commits jifty-commit at lists.jifty.org
Tue Jul 21 14:26:18 EDT 2009


Author: alexmv
Date: Tue Jul 21 14:26:17 2009
New Revision: 7341

Modified:
   jifty/trunk/lib/Jifty/Dispatcher.pm

Log:
Improve debug information by including the servicing view handler in message

Modified: jifty/trunk/lib/Jifty/Dispatcher.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Dispatcher.pm	(original)
+++ jifty/trunk/lib/Jifty/Dispatcher.pm	Tue Jul 21 14:26:17 2009
@@ -794,9 +794,6 @@
         die "You can't call a 'show' rule in a 'before' or 'after' block in the dispatcher.  Not showing path $path";
     }
 
-    $self->log->debug("Showing path $path");
-
-
     # If we've got a working directory (from an "under" rule) and we have
     # a relative path, prepend the working directory
     $path = "$self->{cwd}/$path" unless $path =~ m{^/};
@@ -1255,6 +1252,8 @@
         $self->_abort;
     }
 
+    $self->log->debug("Showing path $template using @{[ref $handler]}");
+
     my $start_depth = Jifty->handler->buffer->depth;
     eval {
         $handler->show($template);


More information about the Jifty-commit mailing list