Replies: 1 comment
-
Currently I don't think there's anything in the spec that provides a way for you to see the exception which caused the retry. The specific implementation that you're using may provide a way to get this data (e.g. through logs or distributed tracing) beyond what's required by the spec. Alternatively you could log the exception yourself in your own code, but that would somewhat defeat the point of using Fault Tolerance. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a method annotated with @Retry and, since some time is invoked more than one time by RetryPolicy (I see the metrics) I would like to know why. So how can I see the exception caught by @Retry?
Thanks
Domenico
Beta Was this translation helpful? Give feedback.
All reactions