Skip to content

Commit 72fca85

Browse files
Update packages/traceloop-sdk/src/lib/tracing/index.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 3d5c2f7 commit 72fca85

File tree

1 file changed

+3
-2
lines changed
  • packages/traceloop-sdk/src/lib/tracing

1 file changed

+3
-2
lines changed

packages/traceloop-sdk/src/lib/tracing/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ let mcpInstrumentation: McpInstrumentation | undefined;
5050
const instrumentations: Instrumentation[] = [];
5151

5252
export const initInstrumentations = (apiKey?: string, baseUrl?: string) => {
53-
//eslint-disable-next-line @typescript-eslint/no-empty-function
54-
const exceptionLogger = (e: Error) => {};
53+
const exceptionLogger = (e: Error) => {
54+
console.debug("[Traceloop] Instrumentation exception:", e.message);
55+
};
5556
const enrichTokens =
5657
(process.env.TRACELOOP_ENRICH_TOKENS || "true").toLowerCase() === "true";
5758

0 commit comments

Comments
 (0)