How to properly avoid catching some HTTP error codes on my API calls? #11803
Unanswered
igorsantos07
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@igorsantos07 this is because we monkeypatch xhr which causes us to be part of the frames, this is not related to the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've just implemented an API response that answers with a
304 Not Modified
and, no matter what I do, I still get interrupted by Sentry raising the error, even when I'm purposely ignoring the exception from Axios.The only way I found to keep development going is to completely comment out the
Sentry.init()
call.More specifically, here's what I tried that didn't work:
HttpClient
HttpClient
304
to the list ofignoreErrors
Here's the sanitized, full version of the call we make:
Beta Was this translation helpful? Give feedback.
All reactions