From d6217df82fc964d59b59e7f9a7bd88f5615ac0a2 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Tue, 13 Apr 2010 23:12:26 +0000
Subject: [PATCH] - Patch #721378 by jpmckinney, cha0s, casey, noahb: critical
 bug: comment_save() fails silently.

---
 modules/comment/comment.module | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index f9305e808c30..8e2873209631 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;
   }
 
 }
-- 
GitLab