forked from adanda/CIPS
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added error page with detailed information about the error
- Loading branch information
Showing
4 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{% extends 'layout.html.twig' %} | ||
|
||
{% block content %} | ||
<br/><br/><br/> | ||
Error in {{ error.getFile }} on Line {{ error.getLine }}:<br/><br/> | ||
{{ error.getMessage }} | ||
<br/><br/> | ||
{{ error.getTraceAsString|replace({'\n':'<br/>'})|raw }} | ||
{% for trace in error.getTrace %} | ||
{{ trace.function }} | ||
{% endfor %} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters