-
Notifications
You must be signed in to change notification settings - Fork 210
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
Add log-ready information to HermesResponse #808
Comments
I'd like to work on it :) |
From what I know, |
This issue is still active if someone would like to address it it will be great. |
I'd like to take care of it. |
Closing this issue as @mictyd added |
When I'm using HermesClient for publishing events tu Hermes I have to use the following code:
Where:
My goal is only to log all information in case of failure. I don't really case in what format. Since the HermesResponse contains many methods with potentially relevant information and exception is Optional - I have to use such a long method just to gather all of these information.
Please consider some of the following:
toString()
method which would contain problem description in case of problemsthrowIfExceptionOccured()
which could be use just to throw some exception in case of using HermesClient in synchronous wayisSuccess()
returns false, thengetFailureCause()
will never be empty (right now I have no idea if I can safelythrow getFailureCause().get()
)The text was updated successfully, but these errors were encountered: