Skip to content

[DX] Display the actual error class instead of FatalThrowableError #26025

@derrabus

Description

@derrabus
Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no
Symfony version >= 4.1

If an error is thrown, Symfony wraps it into a FatalThrowableError. The consequence is that the actual error class is lost.

bildschirmfoto 2018-02-02 um 20 09 33

What I'd like to see instead is this.

bildschirmfoto 2018-02-02 um 20 08 42

I think, we can fix this issue without switching the whole error handling to Throwable (see #22128 for that).

Metadata

Metadata

Assignees

No one assigned

    Labels

    DXDX = Developer eXperience (anything that improves the experience of using Symfony)Feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions