diff --git a/phpgwapi/inc/class.egw_db.inc.php b/phpgwapi/inc/class.egw_db.inc.php index c7a842bdf6..b3d249d485 100644 --- a/phpgwapi/inc/class.egw_db.inc.php +++ b/phpgwapi/inc/class.egw_db.inc.php @@ -378,7 +378,7 @@ class egw_db } if (!isset($e)) { - die('No DB Host set!'); + $e = new egw_exception_db_connection('No DB host set!'); } throw $e; }