This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
// Metro module 947 (f948).
import { getClient } from "./Module848";
import { getActiveSpan } from "./spanToJSON";
import { SPAN_STATUS_ERROR } from "./Module840";
import { captureException } from "./captureCheckIn";
Object.defineProperty(exports, Symbol.toStringTag, {
value: "Module"
});
export function captureError(a0, a1, a2) {
L11: {
try {
if (getClient()) {
const activeSpan = getActiveSpan();
if (activeSpan == null ? void 0 : activeSpan.isRecording()) {
activeSpan.setStatus({
code: SPAN_STATUS_ERROR,
message: "internal_error"
});
}
captureException(a0, {
mechanism: {
type: "auto.ai.mcp_server",
handled: false,
data: {
error_type: a1 ? a1 : "handler_execution",
...a2
}
}
});
break L11;
}
} catch ($e) {
break L11;
}
return void 0;
}
}