Skip to content

Commit 46f0246

Browse files
committed
add log
1 parent cda2823 commit 46f0246

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/core/src/tracing/sentrySpan.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,7 @@ export class SentrySpan implements Span {
175175
attributesOrStartTime?: SpanAttributes | SpanTimeInput,
176176
startTime?: SpanTimeInput,
177177
): this {
178-
if (this._endTime) {
179-
return this;
180-
}
178+
DEBUG_BUILD && logger.log('[Tracing] Adding an event to span:', name);
181179

182180
const time = isSpanTimeInput(attributesOrStartTime) ? attributesOrStartTime : startTime || timestampInSeconds();
183181
const attributes = isSpanTimeInput(attributesOrStartTime) ? {} : attributesOrStartTime || {};

0 commit comments

Comments
 (0)