Skip to content

Exception (panic) is not handled in the framework #57

Open
@vault-thirteen

Description

@vault-thirteen

Hello there again.
I have found another issue, and this time it is critical for me.

If an exception (panic) happens inside a handler, the application crashes.
Good frameworks use exception (panic) handling.

To fix this issue I will have to add the same deferred code to each of the handlers manually ! Not mentioning that it will take a long time to copy-paste into hundreds of handlers in numerous files of different services, it will be the the greatest violation of the DRY principle for me, while I will not be able to modify that code in one place making support of this code terrible.

I regret to say that if you do not respond soon, I will have to stop using your library.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions