<!-- Requirements: please go through this checklist before opening a new issue --> - [X] Review the documentation: https://docs.sentry.io/ - [X] Search for existing issues: https://github.com/getsentry/sentry-javascript/issues - [X] Use the latest release: https://github.com/getsentry/sentry-javascript/releases - [ ] N/A: Provide a link to the affected event from your Sentry account ## Package + Version - [X] `@sentry/browser` 5.2.0 ## Description We're getting this error: `Cannot convert undefined or null to object` It seems to be happening here, according to Chrome: https://github.com/getsentry/sentry-javascript/blob/master/packages/browser/src/integrations/trycatch.ts#L88 Here's the stack trace:  Here's a snapshot of the error in Chrome DevTools:  Seems like OpenLayers is throwing an error, but Sentry is not handling it properly and throwing an error itself.