use same egw_exception_db_connection instead of die, if no DB host set, so it can be cought

This commit is contained in:
Ralf Becker 2015-10-06 17:00:21 +00:00
parent 5b495822c6
commit 9e1bd4fcb8

View File

@ -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;
}