Skip to content

Commit 1af1f5e

Browse files
rhcarvalhoHazAT
andauthored
Update packages/core/src/request.ts
Co-authored-by: Daniel Griesser <[email protected]>
1 parent a5212a2 commit 1af1f5e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/core/src/request.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ export function eventToSentryRequest(event: Event, api: API): SentryRequest {
3131
if (useEnvelope) {
3232
const envelopeHeaders = JSON.stringify({
3333
event_id: event.event_id,
34-
// We need to add * 1000 since we divide it by 1000 by default but JS works with ms precision
35-
// The reason we use timestampWithMs here is that all clocks across the SDK use the same clock
3634
sent_at: new Date().toISOString(),
3735
});
3836
const itemHeaders = JSON.stringify({

0 commit comments

Comments
 (0)