Skip to content

Fatal error in action causes shutdown to run with wrong/overwritten error handler #1253

Open
@kkmuffme

Description

@kkmuffme

If an action has a fatal the "finally" with "restore_error_handler"

never runs.

This means that on shutdown the overwritten error handler is used, which throws - however since it's not in a try/catch block anymore now, this will fatal (= call the exception handler and exit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions