Skip to content

Commit 37ac2bc

Browse files
committed
ahkui: fix call end() twice
1 parent 55e5873 commit 37ac2bc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Trace/Injectors/BaseTraceInjector.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@ export class BaseTraceInjector {
7676
});
7777
} else {
7878
try {
79-
const result = prototype.apply(this, args);
80-
currentSpan.end();
81-
return result;
79+
return prototype.apply(this, args);
8280
} catch (error) {
8381
BaseTraceInjector.recordException(error, currentSpan);
8482
} finally {

0 commit comments

Comments
 (0)