diff options
author | till <till@php.net> | 2008-02-14 22:05:43 +0000 |
---|---|---|
committer | till <till@php.net> | 2008-02-14 22:05:43 +0000 |
commit | 3afd87bddade42b4412b1ac1c01abb2540094845 (patch) | |
tree | adf7a7948c21b3aa8792bd596626f222090cdbbe | |
parent | 356f7499520dfc927435a40f06541b9fccaea4f1 (diff) |
* more verbose error msg
-rw-r--r-- | program/include/rcube_mdb2.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_mdb2.inc b/program/include/rcube_mdb2.inc index acb167bc1..8628bc17c 100644 --- a/program/include/rcube_mdb2.inc +++ b/program/include/rcube_mdb2.inc @@ -102,7 +102,7 @@ class rcube_mdb2 $this->db_error_msg = $dbh->getMessage(); raise_error(array('code' => 500, 'type' => 'db', 'line' => __LINE__, 'file' => __FILE__, - 'message' => $dbh->getMessage()), TRUE, FALSE); + 'message' => $dbh->getUserInfo()), TRUE, FALSE); } else if ($this->db_provider=='sqlite') { |