decord/source/6387_linkedErrorsIntegration.js

28 lines
887 B
JavaScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 6387
2026-07-27 11:26:19 +00:00
// Function ID: 57468
2026-07-23 10:11:24 +00:00
// Name: linkedErrorsIntegration
2026-07-25 08:10:48 +00:00
// Dependencies: [6388, 6371, 6367]
2026-07-23 10:11:24 +00:00
2026-07-25 08:10:48 +00:00
// Module 6387 (linkedErrorsIntegration)
2026-07-23 10:11:24 +00:00
import setupIntegration from "setupIntegration";
export const linkedErrorsIntegration = setupIntegration.defineIntegration(function _linkedErrorsIntegration() {
if (arguments.length > 0) {
if (undefined !== arguments[0]) {
let first = arguments[0];
}
let closure_0 = first.limit || 5;
let closure_1 = first.key || "cause";
const obj = {
name: "LinkedErrors",
preprocessEvent(arg0, arg1, getOptions) {
const options = getOptions.getOptions();
2026-07-25 08:10:48 +00:00
const result = callback(6388).applyAggregateErrorsToEvent(callback(6371).exceptionFromError, options.stackParser, options.maxValueLength, dependencyMap, callback, arg0, arg1);
2026-07-23 10:11:24 +00:00
}
};
return obj;
}
first = {};
});