Skip to content

Commit e224592

Browse files
committed
Fix wrong MAX_BODY_BYTE_LENGTH
1 parent f5bdfc9 commit e224592

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/node-core/src/utils/captureRequestBody.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { Scope } from '@sentry/core';
33
import { debug } from '@sentry/core';
44
import { DEBUG_BUILD } from '../debug-build';
55

6-
export const MAX_BODY_BYTE_LENGTH = 1_000_000;
6+
export const MAX_BODY_BYTE_LENGTH = 1024 * 1024;
77

88
/**
99
* This method patches the request object to capture the body.

0 commit comments

Comments
 (0)