This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
// Metro module 849 (f850).
import { triggerHandlers, addHandler, maybeInstrument } from "./Module850";
import { GLOBAL_OBJ } from "./Module821";
let onerror;
const instrumentError = function instrumentError() {
onerror = GLOBAL_OBJ.onerror;
GLOBAL_OBJ.onerror = function(a0, a1, a2, a3, a4) {
triggerHandlers("error", {
column: a3,
error: a4,
line: a2,
msg: a0,
url: a1
});
return !!onerror && onerror.apply(this, arguments);
};
GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__ = true;
};
Object.defineProperty(exports, Symbol.toStringTag, {
value: "Module"
});
onerror = null;
export function addGlobalErrorInstrumentationHandler(a0) {
addHandler("error", a0);
maybeInstrument("error", instrumentError);
}