- fix wrong raiseerror setting, which aborted the bot instead of returning an error
authorAndreas Scherbaum <andreas@scherbaum.biz>
Wed, 13 Jun 2012 16:18:18 +0000 (18:18 +0200)
committerAndreas Scherbaum <andreas@scherbaum.biz>
Wed, 13 Jun 2012 16:18:18 +0000 (18:18 +0200)
db.pm

diff --git a/db.pm b/db.pm
index 10e307079b62bd961859595f22d4654299caad5a..9555f4bb11be36341e0126b10210b6dabb777d7f 100644 (file)
--- a/db.pm
+++ b/db.pm
@@ -150,7 +150,7 @@ sub open_db_connection {
         return 0;
     }
 
-    $dbh->{RaiseError} = 1;
+    $dbh->{RaiseError} = 0;
 
     if ($db_schema) {
         $dbh->do("SET search_path = '$db_schema'");