From 8e8aafb074b123c1eb5d01458fbe6666ee192e95 Mon Sep 17 00:00:00 2001 From: Roland Schneider Date: Thu, 27 Jun 2019 07:47:59 +0200 Subject: [PATCH] event registration fix error displaying --- common/manager/EventRegistrationManager.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/manager/EventRegistrationManager.php b/common/manager/EventRegistrationManager.php index c0b1564..d44f9c1 100644 --- a/common/manager/EventRegistrationManager.php +++ b/common/manager/EventRegistrationManager.php @@ -117,6 +117,7 @@ class EventRegistrationManager extends \yii\base\Object $tx->commit(); } catch (\Exception $exception) { $tx->rollBack(); + throw $exception; } } @@ -237,4 +238,4 @@ class EventRegistrationManager extends \yii\base\Object } -} \ No newline at end of file +}