From 411ce0629c89446e1c3c1a3cbb1cb133db20f0f2 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Thu, 27 Nov 2014 14:29:50 +0100 Subject: [PATCH] If a Notice insert fails, don't continue processing it --- classes/Notice.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/Notice.php b/classes/Notice.php index 96637b8f32..9328a76bb8 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -686,6 +686,7 @@ class Notice extends Managed_DataObject if (!empty($notice->id)) { $notice->delete(); } + throw $e; } } -- 2.39.5