7.x causes invalid range error (process.uptime)
See original GitHub issueIs there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which package are you using?
SDK Version
7.14.0
Framework Version
@sentry/node@7.14.0
Link to Sentry event
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
- prerequisites: node v16.15.1, azure function js runtime 4.x (supports node 14.x - 16.x)
- setup Azure functions (with typescript)
- 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
Issue Analytics
- State:
- Created a year ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Download request refers to an invalid range. - GleamTech
Fixed: When downloading document parts (http range), instead of the actual error, "Download request refers to an invalid range"error could be thrown.
Read more >Release Notes - Uptime Infrastructure Monitor 7.8.x
This release includes a fix that resolves some null check interval error messages unexpectedly appearing in uptime.log. Note that this fix only ...
Read more >Uptime service is misconfigured - N-able
This occurs when there are no results for the WMI query being performed by the service, either WMI is damaged or the metric...
Read more >bash - Sed Invalid range end error with captured group
You're getting an Invalid range end error because you've wrote A-z inside your character class, which is a negative range ( z <...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This fix made it into 7.14.1: https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#7141
If you are getting issues with any version after this, please open a new issue!
Hi @jlev the fix to this (#5226) was released in 7.14.1. Is this still a problem in 7.16.0?