Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
21 lines
540 B
Plaintext
21 lines
540 B
Plaintext
try {
|
|
let globalObject =
|
|
"undefined" != typeof window
|
|
? window
|
|
: "undefined" != typeof global
|
|
? global
|
|
: "undefined" != typeof globalThis
|
|
? global
|
|
: "undefined" != typeof self
|
|
? self
|
|
: {};
|
|
|
|
let stack = new globalObject.Error().stack;
|
|
|
|
if (stack) {
|
|
globalObject._sentryDebugIds = globalObject._sentryDebugIds || {};
|
|
globalObject._sentryDebugIds[stack] = "__SENTRY_DEBUG_ID__";
|
|
globalObject._sentryDebugIdIdentifier = "sentry-dbid-__SENTRY_DEBUG_ID__";
|
|
}
|
|
} catch (e) {}
|