Skip to content

Commit

Permalink
Merge pull request #112 from tmilos/failure_html_fix
Browse files Browse the repository at this point in the history
failure.html.twig - statck trace and dump removed #108
  • Loading branch information
tmilos committed Jan 11, 2016
2 parents 818d2c1 + f1857d4 commit 371de10
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions src/AerialShip/SamlSPBundle/Resources/views/failure.html.twig
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
{% if error %}
{{ error.getMessage() }}
<hr/>
<pre>{{ error.getTraceAsString() }}</pre>
{% if app.environment == 'dev' %}
<hr>
{{ dump(error.getToken()) }}
{% endif %}
{% else %}
<p>Some error occurred but went out of the scope</p>
{% endif %}
{% if error %}
{{ error.getMessage() }}
{% else %}
<p>Some error occurred but went out of the scope</p>
{% endif %}

0 comments on commit 371de10

Please sign in to comment.