[Jifty-commit] r1342 - jifty/trunk/lib/Jifty/Web

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Wed Jun 21 20:00:13 EDT 2006


Author: dpavlin
Date: Wed Jun 21 20:00:07 2006
New Revision: 1342

Modified:
   jifty/trunk/lib/Jifty/Web/Form.pm

Log:
fix typo, add template filename and line

Modified: jifty/trunk/lib/Jifty/Web/Form.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Form.pm	(original)
+++ jifty/trunk/lib/Jifty/Web/Form.pm	Wed Jun 21 20:00:07 2006
@@ -171,7 +171,8 @@
         if ( $self->can($_) ) {
             $self->$_($args{$_});
         } else {
-            $self->log->warn("Unknown parametar to Jifty->Web->Form->start: $_");
+			my (undef, $template, $line) = caller;
+            $self->log->warn(sprintf("Unknown parameter to Jifty->web->form->start: $_ in %s line %d", (caller)[1,2]));
         }
     }
 


More information about the Jifty-commit mailing list