Skip to content

Commit 0cf4f8b

Browse files
committed
fixup comment
1 parent b865ad9 commit 0cf4f8b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/core/src/request.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@ export function eventToSentryRequest(event: Event, api: APIDetails): SentryReque
6868
delete event.sdkProcessingMetadata;
6969

7070
// This is a temporary hack in order to debug a serialization error - see
71-
// https://github.com/getsentry/sentry-javascript/issues/2809. TL;DR: even though we normalize all events, something
72-
// is causing `JSON.stringify` to throw a circular reference error.
71+
// https://github.com/getsentry/sentry-javascript/issues/2809 and
72+
// https://github.com/getsentry/sentry-javascript/pull/4425. TL;DR: even though we normalize all events (which should
73+
// prevent this), something is causing `JSON.stringify` to throw a circular reference error.
7374
const withSDKInfo = sdkInfo ? enhanceEventWithSdkInfo(event, api.metadata.sdk) : event;
7475
let body;
7576
try {

0 commit comments

Comments
 (0)