mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
parent
998610bafa
commit
c1a3d205bc
@ -265,7 +265,14 @@ class Loader
|
|||||||
if ($obj && $obj instanceof Command && $obj->showTrace()) {
|
if ($obj && $obj instanceof Command && $obj->showTrace()) {
|
||||||
echo $this->formatTrace($e->getTrace());
|
echo $this->formatTrace($e->getTrace());
|
||||||
}
|
}
|
||||||
$this->fail($e->getMessage());
|
|
||||||
|
$this->fail(sprintf(
|
||||||
|
'%s in %s:%d with message: %s',
|
||||||
|
get_class($e),
|
||||||
|
$e->getFile(),
|
||||||
|
$e->getLine(),
|
||||||
|
$e->getMessage()
|
||||||
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user