Skip to content

Commit 8ddee17

Browse files
committed
.
1 parent d4c0406 commit 8ddee17

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/nestjs/src/integrations/sentry-nest-bullmq-instrumentation.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ export class SentryNestBullMQInstrumentation extends InstrumentationBase {
8787
return withIsolationScope(() => {
8888
return startSpan(getBullMQProcessSpanOptions(queueName), async () => {
8989
try {
90-
const result = await originalProcessFn.apply(thisArg, args);
91-
return result;
90+
return await originalProcessFn.apply(thisArg, args);
9291
} catch (error) {
9392
captureException(error, {
9493
mechanism: {

0 commit comments

Comments
 (0)