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

All threads should ensure to log any uncaught exceptions #36

Open
T1mmos opened this issue Aug 4, 2024 · 0 comments
Open

All threads should ensure to log any uncaught exceptions #36

T1mmos opened this issue Aug 4, 2024 · 0 comments
Assignees

Comments

@T1mmos
Copy link
Owner

T1mmos commented Aug 4, 2024

Beware of ExecutorService, using .submit(Runnable) won't call the UncaughtExceptionHandler. For the TCP ConnectionPool thread I wrap a Callable into a Runnable where the callable.call is done in a try-catch.

It should be checked that all threads have decent exception handling so not a single exception is swallowed.

@T1mmos T1mmos self-assigned this Aug 4, 2024
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

No branches or pull requests

1 participant