Skip to content

Commit 8bb267b

Browse files
committed
??
1 parent e60978f commit 8bb267b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/browser/src/tracing/request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ function addHTTPTimings(span: Span, client: Client): void {
272272
const originalEnd = span.end.bind(span);
273273

274274
span.end = (endTimestamp?: SpanTimeInput) => {
275-
const capturedEndTimestamp = endTimestamp || timestampInSeconds();
275+
const capturedEndTimestamp = endTimestamp ?? timestampInSeconds();
276276
let isEnded = false;
277277

278278
const endSpanAndCleanup = (): void => {

0 commit comments

Comments
 (0)