mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
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
aa81ae5e5d
commit
1e54cfb117
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user