From d14e4202084ec1aade6a42ea03c478b1dbb7a870 Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Fri, 12 Jul 2013 16:37:04 +0200 Subject: [PATCH] throw the exception again if catch when creating customer --- core/lib/Thelia/Model/Customer.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/lib/Thelia/Model/Customer.php b/core/lib/Thelia/Model/Customer.php index cc213046c..101e0672f 100755 --- a/core/lib/Thelia/Model/Customer.php +++ b/core/lib/Thelia/Model/Customer.php @@ -94,6 +94,7 @@ class Customer extends BaseCustomer implements UserInterface } catch(Exception $e) { $con->rollback(); + throw $e; }