[Debug] PHP 7 Throwable not handled with ExceptionHandler #21464

Open
CarsonF opened this Issue Jan 30, 2017 · 2 comments

Projects

None yet

5 participants

@CarsonF
Contributor
CarsonF commented Jan 30, 2017
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version all

ExceptionHandler::handle typehints Exception and fails when Error is given. ErrorHandler accounts for Throwable but ExceptionHandler does not.

@xabbuh xabbuh added the Debug label Jan 31, 2017
@fabpot
Member
fabpot commented Feb 1, 2017
@CarsonF
Contributor
CarsonF commented Feb 1, 2017

It only happens when ErrorHandler is not registered as that converts the Error / Throwable to an Exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment