[Jifty-commit] r7241 - Jifty-DBI/trunk/lib/Jifty/DBI
Jifty commits
jifty-commit at lists.jifty.org
Thu Jun 11 16:05:10 EDT 2009
Author: sartak
Date: Thu Jun 11 16:05:10 2009
New Revision: 7241
Modified:
Jifty-DBI/trunk/lib/Jifty/DBI/Handle.pm
Log:
Improve error message, since it'll be exposed in the UI :)
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 11 16:05:10 2009
@@ -114,7 +114,7 @@
{
my $handle
= DBI->connect( $self->dsn, $args{'user'}, $args{'password'}, $args{'extra'} )
- || Carp::croak "Connect Failed $DBI::errstr\n";
+ || Carp::croak "Connection failed: $DBI::errstr\n";
#databases do case conversion on the name of columns returned.
#actually, some databases just ignore case. this smashes it to something consistent
More information about the Jifty-commit
mailing list