From d6217df82fc964d59b59e7f9a7bd88f5615ac0a2 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 13 Apr 2010 23:12:26 +0000 Subject: - Patch #721378 by jpmckinney, cha0s, casey, noahb: critical bug: comment_save() fails silently. --- modules/comment/comment.module | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/comment/comment.module') 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; } } -- cgit v1.2.3