doc/lib: Show trace in case an exception is thrown during rendering

refs #6630
This commit is contained in:
Eric Lippmann 2015-02-11 13:03:01 +01:00
parent d2520f1286
commit 21b65d8079
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ abstract class Renderer extends RecursiveIteratorIterator
try {
return $this->render();
} catch (Exception $e) {
return $e->getMessage();
return $e->getMessage() . ': ' . $e->getTraceAsString();
}
}
}