8000 ref: Add logger message on transaction finishing (#3370) · szechyjs/sentry-javascript@6deffe7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6deffe7

Browse files
MurzNNkamilogorek
andauthored
ref: Add logger message on transaction finishing (getsentry#3370)
* Add logger message on transaction finishing * Update packages/tracing/src/transaction.ts Co-authored-by: Kamil Ogórek <kamil@sentry.io>
1 parent ec60b2f commit 6deffe7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/tracing/src/transaction.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ export class Transaction extends SpanClass implements TransactionInterface {
133133
transaction.measurements = this._measurements;
134134
}
135135

136+
logger.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`);
137+
136138
return this._hub.captureEvent(transaction);
137139
}
138140

0 commit comments

Comments
 (0)
0