You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you say a bit about what kind of Error you are seeing here? It's not one that is thrown by the @Subscribe method, since that would be wrapped in an InvocationTargetException and handled by the existing code. So presumably something like OutOfMemoryError or LinkageError. It's not obvious to me that catching and logging such an Error is the right thing to do.
Thanks @eamonnmcmanus for the quick feedback. When encountering ERRORs such as StackOverflowError, losing the problem stack trace can make troubleshooting extremely difficult.
API(s)
How do you want it to be improved?
Why do we need it to be improved?
The
Subscriber#dispatchEvent
did not catchThrowable
, resulting in theError
being undetected by theSubscriberExceptionHandler
Example
Current Behavior
Desired Behavior
Error
can be detected by theSubscriberExceptionHandler
Concrete Use Cases
Checklist
I agree to follow the code of conduct.
I have read and understood the contribution guidelines.
I have read and understood Guava's philosophy, and I strongly believe that this proposal aligns with it.
The text was updated successfully, but these errors were encountered: