Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,39 @@
|
||||
/* Metro module 827; source: unknown; dependencies: [828, 832, 833, 849, 858, 860] */
|
||||
function _fun8992(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#8992, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:954:6, offset: 0x00d5a70e, size: 84 bytes, params: 8, frame: 17
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
const defineProperty = Object.defineProperty;
|
||||
const Symbol = global.Symbol;
|
||||
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
|
||||
exports.registerSpanErrorInstrumentation = registerSpanErrorInstrumentation;
|
||||
}
|
||||
|
||||
function registerSpanErrorInstrumentation() { // fn#8993, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:954:135, offset: 0x00d5a762, size: 95 bytes, params: 1, frame: 14
|
||||
const closure = registerSpanErrorInstrumentationErrorCallback;
|
||||
var value;
|
||||
if (!env0_2) {
|
||||
closure.tag = 'sentry_tracingErrorCallback';
|
||||
value = require(858) /* metro dependency 858 */;
|
||||
value.addGlobalErrorInstrumentationHandler(closure);
|
||||
value = require(860) /* metro dependency 860 */;
|
||||
value.addGlobalUnhandledRejectionInstrumentationHandler(closure);
|
||||
}
|
||||
}
|
||||
|
||||
function registerSpanErrorInstrumentationErrorCallback() { // fn#8994, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:954:179, owner: registerSpanErrorInstrumentation.errorCallback, offset: 0x00d5a7c1, size: 232 bytes, params: 1, frame: 18
|
||||
var setStatus;
|
||||
var object2;
|
||||
const activeSpan = (require(828) /* metro dependency 828 */).getActiveSpan();
|
||||
const r3 = activeSpan && (require(828) /* metro dependency 828 */).getRootSpan(activeSpan);
|
||||
if (r3) {
|
||||
if ((require(832) /* metro dependency 832 */).DEBUG_BUILD) {
|
||||
(require(833) /* metro dependency 833 */).debug.log('[Tracing] Root span: ' + 'internal_error' + ' -> Global error occurred');
|
||||
}
|
||||
setStatus = r3.setStatus;
|
||||
object2 = {};
|
||||
object2.code = (require(849) /* metro dependency 849 */).SPAN_STATUS_ERROR;
|
||||
object2.message = 'internal_error';
|
||||
Reflect.apply(setStatus, r3, [object2]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user