Skip to content

fix: add noop handler for events exceptions #208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Nov 1, 2024

Conversation

subzero10
Copy link
Member

@subzero10 subzero10 commented Oct 31, 2024

Status

READY

Description

Adds a no-op handler by default for exceptions raised when calling the events API.
I decided to created a different exception handler for the events API because the frequency calling the events API is different from that of the notice (errors) API; so it makes sense for them to be handled differently.
Even if just logging those exceptions to a file, it's possible that there could be a lot of them logged in short amount of time.

Todos

  • Tests

@subzero10 subzero10 added the bug label Oct 31, 2024
@subzero10 subzero10 self-assigned this Oct 31, 2024
@subzero10 subzero10 changed the title fix: prevent infinite loop inside log handlers fix: add noop handler for events exceptions Nov 1, 2024
@subzero10 subzero10 merged commit 3eb1947 into master Nov 1, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants