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 16:59:54 +00:00
parent aa81ae5e5d
commit 1e54cfb117

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