summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 66ccef6bc..c997ea2e5 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -1529,7 +1529,8 @@ function comment_save($comment) {
}
}
catch (Exception $e) {
- $transaction->rollback('comment', $e->getMessage(), array(), WATCHDOG_ERROR);
+ $transaction->rollback('comment');
+ watchdog_exception('comment', $e);
throw $e;
}