summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Db.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Db.class.php b/Db.class.php
index b1fb58e..af51ed4 100644
--- a/Db.class.php
+++ b/Db.class.php
@@ -123,7 +123,7 @@ class DB
{
# Write into log and display Exception
echo $this->ExceptionLog($e->getMessage(), $query );
- die();
+ throw new Exception($e->getMessage());
}
# Reset the parameters