summaryrefslogtreecommitdiff
path: root/modules/comment
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-04-13 23:12:26 +0000
committerDries Buytaert <dries@buytaert.net>2010-04-13 23:12:26 +0000
commitd6217df82fc964d59b59e7f9a7bd88f5615ac0a2 (patch)
tree9c69736f75a020ad7347c9a8f41274096b19e08a /modules/comment
parent3c3cee28b94eb0c14f6958e1e6440bba15bc9a7d (diff)
downloadbrdo-d6217df82fc964d59b59e7f9a7bd88f5615ac0a2.tar.gz
brdo-d6217df82fc964d59b59e7f9a7bd88f5615ac0a2.tar.bz2
- Patch #721378 by jpmckinney, cha0s, casey, noahb: critical bug: comment_save() fails silently.
Diffstat (limited to 'modules/comment')
-rw-r--r--modules/comment/comment.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index f9305e808..8e2873209 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -1512,6 +1512,7 @@ function comment_save($comment) {
}
catch (Exception $e) {
$transaction->rollback('comment', $e->getMessage(), array(), WATCHDOG_ERROR);
+ throw $e;
}
}