mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-01 11:04:24 +02:00
doc/lib: Show trace in case an exception is thrown during rendering
refs #6630
This commit is contained in:
parent
d2520f1286
commit
21b65d8079
@ -172,7 +172,7 @@ abstract class Renderer extends RecursiveIteratorIterator
|
|||||||
try {
|
try {
|
||||||
return $this->render();
|
return $this->render();
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
return $e->getMessage();
|
return $e->getMessage() . ': ' . $e->getTraceAsString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user