diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-05-26 07:52:13 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-05-26 07:52:13 +0000 |
commit | 72db95c988c57d9ac1b073e9d8a587041d8906f0 (patch) | |
tree | 17ad2eb17f2b9b76bdaff14ac4bc0e0106680f0c /includes/menu.inc | |
parent | 164ac036ac57868723db0b2789961419e92778c4 (diff) | |
download | brdo-72db95c988c57d9ac1b073e9d8a587041d8906f0.tar.gz brdo-72db95c988c57d9ac1b073e9d8a587041d8906f0.tar.bz2 |
- Patch #711108 by Berdir: better exception reporting for watchdog() in the database system.
Diffstat (limited to 'includes/menu.inc')
-rw-r--r-- | includes/menu.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/menu.inc b/includes/menu.inc index cbd2b595a..726c4df6e 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -2307,7 +2307,8 @@ function menu_rebuild() { } } catch (Exception $e) { - $transaction->rollback('menu', $e->getMessage(), array(), WATCHDOG_ERROR); + $transaction->rollback(); + watchdog_exception('menu', $exception); } lock_release('menu_rebuild'); |