Skip to content

Commit 31e179c

Browse files
ref(server-utils): Keep @sentry/core import multiline in anthropic-ai
Removing `captureException` put the import at 111 chars, so oxfmt collapsed it to a single line. Pin the previous layout with `oxfmt-ignore` per review feedback. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 4c52da8 commit 31e179c

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

  • packages/server-utils/src/ai/anthropic-ai

packages/server-utils/src/ai/anthropic-ai/index.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
/* eslint-disable typescript-eslint/no-deprecated */
2-
import { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SPAN_STATUS_ERROR, startSpan, startSpanManual } from '@sentry/core';
2+
// oxfmt-ignore
3+
import {
4+
SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,
5+
SPAN_STATUS_ERROR,
6+
startSpan,
7+
startSpanManual,
8+
} from '@sentry/core';
39
import type { Span, SpanAttributeValue } from '@sentry/core';
410
import {
511
GEN_AI_OPERATION_NAME,

0 commit comments

Comments
 (0)