mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-25 18:59:05 +02:00
DbObject: do not hide our exceptions
This commit is contained in:
parent
7ee6bca73d
commit
d7c2e7dacd
@ -666,12 +666,15 @@ abstract class DbObject
|
||||
}
|
||||
|
||||
} catch (Exception $e) {
|
||||
if ($e instanceof IE) {
|
||||
throw $e;
|
||||
}
|
||||
throw new IE(
|
||||
'Storing %s[%s] failed: %s {%s}',
|
||||
$this->table,
|
||||
$this->getLogId(),
|
||||
$e->getMessage(),
|
||||
print_r($this->getProperties(), 1)
|
||||
print_r($this->getProperties(), 1) // TODO: Remove properties
|
||||
);
|
||||
}
|
||||
$this->modifiedProperties = array();
|
||||
|
Loading…
x
Reference in New Issue
Block a user