mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-05 20:57:12 +00:00
Fix errors rendering in Admin API
This commit is contained in:
parent
ad6b3e0966
commit
74d73abf0e
2 changed files with 2 additions and 0 deletions
1
templates/bundles/TwigBundle/Exception/error.json.twig
Normal file
1
templates/bundles/TwigBundle/Exception/error.json.twig
Normal file
|
|
@ -0,0 +1 @@
|
|||
{{ { 'code': status_code, 'message': exception.message }|json_encode|raw }}
|
||||
|
|
@ -0,0 +1 @@
|
|||
{{ { 'code': status_code, 'message': exception.message }|json_encode|raw }}
|
||||
Loading…
Add table
Reference in a new issue