Skip to content

Commit 331bcab

Browse files
author
Luca Forstner
committed
msg
1 parent fe7973a commit 331bcab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/node/src/integrations/http/SentryHttpInstrumentation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,8 +396,8 @@ function patchRequestToCaptureBody(req: IncomingMessage, isolationScope: Scope):
396396
`Dropping request body chunk because maximum body length of ${MAX_BODY_BYTE_LENGTH}b is exceeded.`,
397397
);
398398
}
399-
} catch {
400-
// noop
399+
} catch (err) {
400+
DEBUG_BUILD && logger.error(INSTRUMENTATION_NAME, 'Encountered error while storing body chunk.');
401401
}
402402

403403
return Reflect.apply(target, thisArg, args);

0 commit comments

Comments
 (0)