Skip to content

Commit 3073783

Browse files
committed
Rewordings
1 parent 722b9d0 commit 3073783

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cookbook/controller/error_pages.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ In Symfony applications, all errors are treated as exceptions, no matter if they
99
are just a 404 Not Found error or a fatal error triggered by throwing some
1010
exception in your code.
1111

12-
In the `development environment`_ Symfony catches all the exceptions and displays
12+
In the `development environment`_, Symfony catches all the exceptions and displays
1313
a special **exception page** with lots of debug information to help you quickly
14-
discover the root problem.
14+
discover the root problem:
1515

1616
.. image:: /images/cookbook/controller/error_pages/exceptions-in-dev-environment.png
1717
:alt: A typical exception page in development environment
1818

19-
Since these pages contain a lot of sensitive internal information about your
20-
application, in production environment Symfony displays instead a simple and
19+
Since these pages contain a lot of sensitive internal information, Symfony won't
20+
display them in the production environment. Instead, it'll show a simple and
2121
generic **error page**:
2222

2323
.. image:: /images/cookbook/controller/error_pages/errors-in-prod-environment.png

0 commit comments

Comments
 (0)