File tree Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Expand file tree Collapse file tree 1 file changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -70,16 +70,16 @@ A typical project that returns HTML and JSON pages, might look like this:
7070.. code-block :: text
7171
7272 app/
73- ├ ─ Resources/
74- │ └─ TwigBundle/
75- │ └─ views/
76- │ └─ Exception/
77- │ ├─ error404.html.twig
78- │ ├─ error403.html.twig
79- │ ├─ error.html.twig # All other HTML errors (including 500)
80- │ ├─ error404.json.twig
81- │ ├─ error403.json.twig
82- │ ├─ error.json.twig # All other JSON errors (including 500)
73+ └ ─ Resources/
74+ └─ TwigBundle/
75+ └─ views/
76+ └─ Exception/
77+ ├─ error404.html.twig
78+ ├─ error403.html.twig
79+ ├─ error.html.twig # All other HTML errors (including 500)
80+ ├─ error404.json.twig
81+ ├─ error403.json.twig
82+ ├─ error.json.twig # All other JSON errors (including 500)
8383
8484 Example 404 Error Template
8585--------------------------
@@ -145,9 +145,6 @@ is undefined. The solution is to add the following check before using this funct
145145 Testing Error Pages during Development
146146~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
147147
148- Symfony shows the big *exception * page instead of your customized error page
149- when you're in the development environem
150-
151148While you're in the development environment, Symfony shows the big *exception *
152149page instead of your shiny new customized error page. So, how can you see
153150what it looks like and debug it?
You can’t perform that action at this time.
0 commit comments