You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Objects that are created from an Object with a null prototype were not
correctly handled before. `Object.getPrototypeOf` of such objects does
not return `null` directly but also do not have a constructor.
This fix guards against these cases.
Closes: #15538
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
9.2.0
Framework Version
No response
Link to Sentry event
https://macs-holding.sentry.io/issues/6218488847/events/039f7b826c3d4864bbf132089ea3f611?project=4504671195299840&referrer=alert-rule-issue-list
Reproduction Example/SDK Setup
No response
Steps to Reproduce
Report an error which contains a property that is an object with a custom prototype like
Header
from effect: https://github.com/Effect-TS/effect/blob/main/packages/platform/src/Headers.ts#L44Object.getPrototypeOf(Object.create({}))
has noconstructor
the problem in the SDK is here is a constructor assumed:
In EventBuilder you silently catch errors on that instead
Expected Result
no error inside Contexts cause.defect.response.headers
Actual Result
error
The text was updated successfully, but these errors were encountered: