Skip to content

Commit

Permalink
[WIP] [TwigBundle] [Exception] Make return value similar to error.jso…
Browse files Browse the repository at this point in the history
…n.twig
  • Loading branch information
clemens-tolboom authored and fabpot committed Sep 22, 2014
1 parent f940d92 commit 4a59f98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/Symfony/Bundle/TwigBundle/CHANGELOG.md
@@ -1,6 +1,11 @@
CHANGELOG
=========

2.6.0
-----

* [BC BREAK] changed exception.json.twig to match same structure as error.json.twig making clients independent of runtime environment.

2.3.0
-----

Expand Down
@@ -1 +1 @@
{{ exception.toarray|json_encode|raw }}
{{ { 'error': { 'code': status_code, 'message': status_text, 'exception': exception.toarray } }|json_encode|raw }}

0 comments on commit 4a59f98

Please sign in to comment.