[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[3575] trunk/LedgerSMB.pm
- Subject: SF.net SVN: ledger-smb:[3575] trunk/LedgerSMB.pm
- From: ..hidden..
- Date: Tue, 26 Jul 2011 22:35:59 +0000
Revision: 3575
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3575&view=rev
Author: einhverfr
Date: 2011-07-26 22:35:59 +0000 (Tue, 26 Jul 2011)
Log Message:
-----------
improvement to db-trapped error handling
Modified Paths:
--------------
trunk/LedgerSMB.pm
Modified: trunk/LedgerSMB.pm
===================================================================
--- trunk/LedgerSMB.pm 2011-07-26 22:23:32 UTC (rev 3574)
+++ trunk/LedgerSMB.pm 2011-07-26 22:35:59 UTC (rev 3575)
@@ -1008,7 +1008,9 @@
$logger->error("Logging SQL State ".$self->{dbh}->state.", error ".
$self->{dbh}->err . ", string " .$self->{dbh}->errstr);
if (defined $state_error->{$self->{dbh}->state}){
- $self->error($state_error->{$self->{dbh}->state});
+ $self->error($state_error->{$self->{dbh}->state}
+ . "\n" .
+ $self->{_locale}->text('More information has been reported in the error logs'));
$self->{dbh}->rollback;
exit;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.