-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which package are you using?
@sentry/node
SDK Version
7.28.0
Framework Version
No response
Link to Sentry event
Steps to Reproduce
We are using Sentry.captureException and sentry tracing to log errors in Sentry. We noticed that under "Issue Details" for a given error event, the trace information seems to be missing / mismatched - specifically, the "Status" field.
To repro:
- setup Sentry.captureException and sentry tracing for node
- throw a handled error with a certain error code (lets say 403)
- view the issue in Sentry, scroll to "Trace Details", notice that "Status" is "unknown" (not 403 / permission_denied)
- Click into "Search by Trace" and notice that the correct trace is there, alongside the correct "Transaction Status" (permission_denied)
- Click into "View Event", and see the correct Status, Code, and Trace Details on this page
Expected Result
We are expecting to see the "Trace Details" under the "Issue" view and "Event" view to be the same, especially given they share the same trace Id (specifically, we are expecting the same status code)
The details under "Issue", clicking into "Search by Trace", and clicking into "View Event" should match.
If they are not intended to match, my question would then be: what is the "Status" field under "Trace Details" in the Issue page view supposed to represent?
Actual Result
-
We are seeing "unknown" in the "Status" field in this view
-
But then, clicking into "Search by Trace" shows the correct status code
-
Then, clicking into "View Event" also shows the same and correct status code
I am looking for help understanding why 1 does not match with 2 and 3 - whether that is in the way we configure, or something else.
Additionally, it seems a bit odd that this is not a problem when the response code is 2XX like in this example. It only really happens when the response is an error code (4XX or 5XX).
Metadata
Metadata
Assignees
Labels
Fields
Give feedbackProjects
Status