Skip to content

Update events.rst #13658

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 1, 2020
Merged

Update events.rst #13658

merged 1 commit into from
Jun 1, 2020

Conversation

l-vo
Copy link
Contributor

@l-vo l-vo commented May 11, 2020

The exit code can't come from the terminate event since terminate is dispatched after the error event.

The exit code can't come from the terminate event since terminate is dispatched after the error event
@javiereguiluz
Copy link
Member

@l-vo thanks! I've just checked the code of Console ... and it's true that in console/Application.php and console/EventListener/ErrorListener.php the TERMINATE event is triggered after any ERROR event.

@javiereguiluz javiereguiluz merged commit 58fba0d into symfony:3.4 Jun 1, 2020
@l-vo l-vo deleted the patch-3 branch June 1, 2020 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants