Skip to content

Commit

Permalink
minor symfony#10980 error.html.twig should contain a email value (cle…
Browse files Browse the repository at this point in the history
…mens-tolboom)

This PR was squashed before being merged into the 2.3-dev branch (closes symfony#10980).

Discussion
----------

error.html.twig should contain a email value

When getting an exception on env PROD it would be nice to have an email to report to.

Current code has [email] instead of a value.

I'm not sure how to fix this as the email value should come from exception.html.twig

```html
<div id="logs">
    {% include 'TwigBundle:Exception:logs.html.twig' with { 'logs': logger.logs } only %}
</div>
```

Some hints are welcome.

Commits
-------

030b8c0 error.html.twig should contain a email value
  • Loading branch information
fabpot committed Jun 3, 2014
2 parents dac3305 + 030b8c0 commit df3d3f7
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -9,9 +9,8 @@
<h2>The server returned a "{{ status_code }} {{ status_text }}".</h2>

<div>
Something is broken. Please e-mail us at [email] and let us know
what you were doing when this error occurred. We will fix it as soon
as possible. Sorry for any inconvenience caused.
Something is broken. Please let us know what you were doing when this error occurred.
We will fix it as soon as possible. Sorry for any inconvenience caused.
</div>
</body>
</html>

0 comments on commit df3d3f7

Please sign in to comment.