Ref: https://github.com/getsentry/sentry-javascript/pull/1165
Ref: #1165