25 lines
1.6 KiB
React
25 lines
1.6 KiB
React
/* Metro module 860; source: unknown; dependencies: [859, 830] */
|
|
function _fun9271(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#9271, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:987:6, offset: 0x00d61a1e, size: 93 bytes, params: 8, frame: 17
|
|
const env0_0 = require;
|
|
const instrumentUnhandledRejection = function() {
|
|
env0_2 = require(dependencyMap[1]).GLOBAL_OBJ.onunhandledrejection;
|
|
require(dependencyMap[1]).GLOBAL_OBJ.onunhandledrejection = _fun9273;
|
|
require(dependencyMap[1]).GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__ = true;
|
|
};
|
|
const Object = global.Object;
|
|
const defineProperty = Object.defineProperty;
|
|
const Symbol = global.Symbol;
|
|
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
|
|
exports.addGlobalUnhandledRejectionInstrumentationHandler = function(a0) {
|
|
require(dependencyMap[0]).addHandler('unhandledrejection', a0);
|
|
require(dependencyMap[0]).maybeInstrument('unhandledrejection', instrumentUnhandledRejection);
|
|
};
|
|
}
|
|
|
|
function instrumentUnhandledRejection() { // fn#9272, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:987:104, offset: 0x00d61a7b, size: 100 bytes, params: 1, frame: 14
|
|
const GLOBAL_OBJ = (require(830) /* metro dependency 830 */).GLOBAL_OBJ;
|
|
GLOBAL_OBJ.onunhandledrejection = GLOBAL_OBJ.onunhandledrejection;
|
|
GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__ = true;
|
|
}
|
|
|