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

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Sun Jan 28 10:56:11 EST 2007


Author: jesse
Date: Sun Jan 28 10:56:10 2007
New Revision: 2693

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

Log:
 r21633 at hualien:  jesse | 2007-01-28 23:54:24 +0800
 * Actually carp from within our log warning handler, to not swallow critical debugging into
 


Modified: jifty/trunk/lib/Jifty/Logger.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Logger.pm	(original)
+++ jifty/trunk/lib/Jifty/Logger.pm	Sun Jan 28 10:56:10 2007
@@ -122,6 +122,7 @@
             # the aliasing so we can remove trailing newlines
             my @lines = map {"$_"} @_;
             $logger->warn(map {chomp; $_} @lines);
+            carp (map {chomp; $_} @lines);
         }
         elsif ($previous_warning_handler) {
             # Fallback to the old handler


More information about the Jifty-commit mailing list