Skip to content
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

Handle logging of ISBRH exceptions and multiple exception types #668

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

Cleptomania
Copy link
Member

This adds some logging(and caching, so that we only log unique errors, and don't constantly log the same error all the time) to record some basic information about the ISBRH/Block that threw the exception, as well as log the stack trace of the exception.

It also adds handling multiple exception types, at the moment is does the original NPE handling, but also handles AIOOB exceptions now. A different colored error block is rendered based on the exception type.

@mitchej123 mitchej123 merged commit cf5bf2e into master Oct 21, 2024
1 check passed
@mitchej123 mitchej123 deleted the isbrh-exception-handling branch October 21, 2024 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants