Closed
Description
Which SDK are you using?
@sentry/node
SDK Version
lastest
Steps to Reproduce
This code was added to fix webpack build errors in node < v12
sentry-javascript/packages/node/src/integrations/anr/index.ts
Lines 25 to 31 in 4f92ff0
Unfortunatly this causes runtime issues:
getsentry/sentry-electron#828
Expected Result
Should not error
Actual Result
This can just be removed for the next major since we only support Node versions where worker_threads
is available