projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
541094b
)
Don't fail if we can't log sentmail info.
author
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 6 Aug 2010 21:57:01 +0000
(15:57 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 6 Aug 2010 22:07:57 +0000
(16:07 -0600)
This should not be fatal to an end user.
imp/lib/Sentmail/Sql.php
patch
|
blob
|
history
diff --git
a/imp/lib/Sentmail/Sql.php
b/imp/lib/Sentmail/Sql.php
index
5287949
..
e24b499
100644
(file)
--- a/
imp/lib/Sentmail/Sql.php
+++ b/
imp/lib/Sentmail/Sql.php
@@
-91,7
+91,9
@@
class IMP_Sentmail_Sql extends IMP_Sentmail_Driver
);
/* Execute the query. */
- $this->_db->insert($query, $values);
+ try {
+ $this->_db->insert($query, $values);
+ } catch (Horde_Db_Exception $e) {}
}
/**