Skip to content

Issues are saved 3 hours in the past #2679

Closed
@hyperknot

Description

@hyperknot

Package + Version

  • @sentry/browser
  • @sentry/node
  • raven-js
  • raven-node (raven for node)
  • other:

Version:

5.17.0

Description

I have a Create React App, made about 1 year ago, from which if I delete everything and insert only the following:

import * as Sentry from '@sentry/browser'

Sentry.init({
  dsn: '...',
})

Sentry.captureMessage('test')

It creates an issue which is 3 hours in the past. This is visible in the network panel as well, the request is sent with the wrong timestamp.

If I insert the same code to a brand new Create React App, made today, the event will have the correct timestamp.

Since I've removed all code from my app, I have no idea what can trigger this bug in Sentry, to make everything 3 hours in the past. Since migrating everything to a new Create React App is not a simple task, I'd like to try to fix it on the existing build config.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions