forked from extern/egroupware
use same egw_exception_db_connection instead of die, if no DB host set, so it can be cought
This commit is contained in:
parent
5b495822c6
commit
9e1bd4fcb8
@ -378,7 +378,7 @@ class egw_db
|
|||||||
}
|
}
|
||||||
if (!isset($e))
|
if (!isset($e))
|
||||||
{
|
{
|
||||||
die('No DB Host set!');
|
$e = new egw_exception_db_connection('No DB host set!');
|
||||||
}
|
}
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user