### Is there an existing issue for this? - [x] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues - [x] I have reviewed the documentation https://docs.sentry.io/ - [x] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases ### 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#L44 `Object.getPrototypeOf(Object.create({}))` has no `constructor` the problem in the SDK is here is a constructor assumed: > return prototype ? prototype.constructor.name : 'null prototype'; In EventBuilder you silently catch errors on that instead ### Expected Result no error inside Contexts cause.defect.response.headers ### Actual Result error