Skip to content

Commit 33a4f94

Browse files
author
Luca Forstner
committed
.
1 parent 0f68238 commit 33a4f94

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/core/src/tracing/spanstatus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export function getSpanStatusFromHttpCode(httpStatus: number): SpanStatus {
5050
}
5151
}
5252

53-
return { code: SPAN_STATUS_ERROR, message: 'unknown_error' };
53+
return { code: SPAN_STATUS_ERROR, message: '11111' };
5454
}
5555

5656
/**

packages/core/src/utils/spanUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export function getStatusMessage(status: SpanStatus | undefined): string | undef
173173
return 'ok';
174174
}
175175

176-
return status.message || 'unknown_error';
176+
return status.message || '222222';
177177
}
178178

179179
const CHILD_SPANS_FIELD = '_sentryChildSpans';

packages/opentelemetry/src/utils/mapStatus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@ export function mapStatus(span: AbstractSpan): SpanStatus {
6767
if (status && status.code === SpanStatusCode.UNSET) {
6868
return { code: SPAN_STATUS_OK };
6969
} else {
70-
return { code: SPAN_STATUS_ERROR, message: 'unknown_error' };
70+
return { code: SPAN_STATUS_ERROR, message: '333333' };
7171
}
7272
}

0 commit comments

Comments
 (0)