28 lines
875 B
JavaScript
28 lines
875 B
JavaScript
// Module ID: 1079
|
|
// Function ID: 1080
|
|
// Name: linkedErrorsIntegration
|
|
// Dependencies: [817, 1031]
|
|
|
|
// Module 1079 (linkedErrorsIntegration)
|
|
import registerSpanErrorInstrumentation from "registerSpanErrorInstrumentation";
|
|
|
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
|
export const linkedErrorsIntegration = registerSpanErrorInstrumentation.defineIntegration(() => {
|
|
let obj = arg0;
|
|
if (arg0 === undefined) {
|
|
obj = {};
|
|
}
|
|
let closure_0;
|
|
let closure_1;
|
|
closure_0 = obj.limit || 5;
|
|
closure_1 = obj.key || "cause";
|
|
obj = {
|
|
name: "LinkedErrors",
|
|
preprocessEvent(arg0, arg1, getOptions) {
|
|
const options = getOptions.getOptions();
|
|
const result = callback(817).applyAggregateErrorsToEvent(callback(1031).exceptionFromError, options.stackParser, dependencyMap, callback, arg0, arg1);
|
|
}
|
|
};
|
|
return obj;
|
|
});
|