Replies: 6 comments 6 replies
-
Is this only happening in the browser environment? Are you able to replicate the issue? Not sure if you have a list of existing issues like that or we would use this issue thread to share it |
Beta Was this translation helpful? Give feedback.
-
In addition to fetch errors, there's also the case where someone or something rejects with a non- |
Beta Was this translation helpful? Give feedback.
-
Ideally the error would provide a stack trace and the URL that was requested at least (currently can only be deduced from the breadcrumb integration). |
Beta Was this translation helpful? Give feedback.
-
@lforst it is not only
Oh, yeah!
Maybe some, but I have one which I am really struggling to fix without an error trace, and that was what brought me to search and find this RFC :(
The error which haunts me is |
Beta Was this translation helpful? Give feedback.
-
Have you ever encountered errors in Sentry without a stack trace? Yes These errors happen occasionally and I pretty much get no information regarding this error. All i could see is a fetch request marked with severity "Error". Logging at least the status code or the issue behind it might be useful. |
Beta Was this translation helpful? Give feedback.
-
@lforst |
Beta Was this translation helpful? Give feedback.
-
You might have noticed in Sentry, when browsing through your issues, that some of them do not have a stack trace attached. A common issue type where this happens is, for example, on
TypeError: Failed to fetch
errors.You've probably seen it before:
We generally do not like issues without stack traces because they mess up Sentry's fingerprinting/grouping algorithm: All the issues that share a name and do not have a stack trace are now grouped into the same issue - even when the errors might come from completely different places in your application! It sucks trying to fix these errors when you don't know where they happen. Additionally, it's impossible to know which ones are the most important because all of them are grouped into one, so you can't see the event count of individual errors!
We want to fix this.
As part of our initiative to improve the workflow and grouping on Sentry (https://github.com/getsentry/sentry-javascript/milestone/17, getsentry/sentry#34327) we want to resolve this issue once and for all (or at least improve it step by step).
Currently, we're investigating what class of errors doesn't have stack traces.
We suspect that it is mostly related to
fetch
in some way, but we're not sure if this covers all instances.Anybody can help us to solve this issue!
As we're trying to figure out what causes errors without stack trace, anybody can help us investigate by sharing experiences surrounding the issue:
Next steps
Beta Was this translation helpful? Give feedback.
All reactions