Skip to content

Log something when catching exceptions outside of the handler #60

@benbridts

Description

@benbridts

(I know this is still beta, I'm logging everything I run into during testing)

Currently uncaught exceptions are handled by the library. This is great, because it means I can't forget to write a try/except around the whole method.

However when this happens nothing is logged about the underlying exception. So it's impossible to see what went wrong without deploying a new version that catches all exceptions and logs them inside the handler.

It would be nice if we could have a log of unexpected exceptions without boilerplate code in every handler

Metadata

Metadata

Assignees

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