minor #10980 error.html.twig should contain a email value (clemens-tolboom)
This PR was squashed before being merged into the 2.3-dev branch (closes #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
This commit is contained in:
commit
df3d3f70d3
@ -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>
|
||||
|
Reference in New Issue
Block a user