27 lines
786 B
JavaScript
27 lines
786 B
JavaScript
// Module ID: 7530
|
|
// Function ID: 7531
|
|
// Name: linkedErrorsIntegration
|
|
// Dependencies: [7531, 7514, 7510]
|
|
|
|
// Module 7530 (linkedErrorsIntegration)
|
|
import setupIntegration from "setupIntegration";
|
|
|
|
|
|
export const linkedErrorsIntegration = setupIntegration.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(7531).applyAggregateErrorsToEvent(callback(7514).exceptionFromError, options.stackParser, options.maxValueLength, dependencyMap, callback, arg0, arg1);
|
|
}
|
|
};
|
|
return obj;
|
|
});
|