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 {
|
||||
return $this->render();
|
||||
} catch (Exception $e) {
|
||||
return $e->getMessage();
|
||||
return $e->getMessage() . ': ' . $e->getTraceAsString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue