[Jifty-commit] r1223 - Jifty-DBI/trunk/lib/Jifty/DBI

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Thu Jun 8 17:59:28 EDT 2006


Author: clkao
Date: Thu Jun  8 17:59:27 2006
New Revision: 1223

Modified:
   Jifty-DBI/trunk/lib/Jifty/DBI/Handle.pm

Log:
Carp::cluck hates END and vice versa.



Modified: Jifty-DBI/trunk/lib/Jifty/DBI/Handle.pm
==============================================================================
--- Jifty-DBI/trunk/lib/Jifty/DBI/Handle.pm	(original)
+++ Jifty-DBI/trunk/lib/Jifty/DBI/Handle.pm	Thu Jun  8 17:59:27 2006
@@ -479,7 +479,9 @@
                 . $self->dbh->errstr . "\n";
 
         } else {
-            Carp::cluck "$self couldn't execute the query '$query_string'";
+            # XXX: This warn doesn't show up because we mask logging in Jifty::Test::END.
+            # and it usually fails because the test server is still running.
+            warn "$self couldn't execute the query '$query_string'";
 
             my $ret = Class::ReturnValue->new();
             $ret->as_error(


More information about the Jifty-commit mailing list