Skip to content

Commit 6aee739

Browse files
committed
minor symfony#14263 Getting a stack trace follow up (greg0ire)
This PR was squashed before being merged into the 4.4 branch. Discussion ---------- Getting a stack trace follow up Here are fixes for issues I noticed only now 🤦 (sorry) There is one issue I don't know how to fix: although I put a gif in `_images/contributing/code/stack-trace.gif`, and linked to it with https://github.com/symfony/symfony-docs/blob/0f3335f18e1058aa6a68185ff930615c7d827d89/contributing/code/stack_trace.rst#L104, it is served at at least this url: https://symfony.com/doc/4.4/_images/stack-trace.gif (and [the link does not render properly](https://symfony.com/doc/current/contributing/code/stack_trace.html), of course) What did I do wrong? ![Screenshot_2020-09-21 Getting a Stack Trace (Symfony Docs)](https://user-images.githubusercontent.com/657779/93804337-72abe680-fc46-11ea-92dc-4b6fd612bb80.png) Commits ------- 4c14bfb Getting a stack trace follow up
2 parents e00ad1d + 4c14bfb commit 6aee739

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contributing/code/stack_trace.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ displayed by default if the exception is not caught. When using Symfony,
2727
such exceptions go through a custom exception handler, which enhances
2828
them in various ways before displaying them according to the current
2929
Server API (CLI or not).
30-
This means a better way to get a stack trace when you do need the
30+
This means a better way to get a stack trace when you do not need the
3131
program to continue is to throw an exception, as follows:
3232
``throw new \Exception();``
3333

@@ -91,7 +91,7 @@ Several things need to be paid attention to when picking a stack trace
9191
from your development environment through a web browser:
9292

9393
1. Are there several exceptions? If yes, the most interesting one is
94-
often exception 1/n which, is shown _last_ in the example below (it
94+
often exception 1/n which, is shown *last* in the example below (it
9595
is the one marked as exception [1/2]).
9696
2. Under the "Stack Traces" tab, you will find exceptions in plain
9797
text, so that you can easily share them in e.g. bug reports. Make

0 commit comments

Comments
 (0)