Skip to content

7.x causes invalid range error (process.uptime) #5856

Description

@Venipa

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/node

SDK Version

7.14.0

Framework Version

@sentry/node@7.14.0

Link to Sentry event

https://sentry.io/organizations/koellisch-gmbh/issues/3591474722/events/c8b2672f4f444952a11d7e012d9302bd/

RangeError: Invalid time value
?, in Date.toISOString
File "C:\home\site\wwwroot\node_modules\@sentry\node\cjs\integrations\context.js", line 177, col 64, in getDeviceContext
File "C:\home\site\wwwroot\node_modules\@sentry\node\cjs\integrations\context.js", line 95, col 25, in Context._getContexts
File "C:\home\site\wwwroot\node_modules\@sentry\node\cjs\integrations\context.js", line 51, col 46, in Context.addContext

Steps to Reproduce

  1. prerequisites: node v16.15.1, azure function js runtime 4.x (supports node 14.x - 16.x)
  2. setup Azure functions (with typescript)
  3. cause error/exception

Expected Result

exception to be submitted

Actual Result

event id is being generated but the exception is not being submitted

might be related to the pr from #5512

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions