Capturing the reason for failure of subscription before retry #7095
manishjain23
started this conversation in
Report issues other than bug
Replies: 1 comment
-
Here is the code snippet: |
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
-
Hi All,
We have implemented Observable in Angular, and in observable we use retry , just in case if there is any failure in subscription, we will re-subscribe.
Now the problem is if we want to know the reason of un-subscription, there is no way by which we can capture it. The only option we got is catchError, but it seems if this is used then "retry" will not be called.
Please suggest the best way out of it
Beta Was this translation helpful? Give feedback.
All reactions