-
Notifications
You must be signed in to change notification settings - Fork 29.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setTimeout().unref()
is not a function
#140624
Comments
Hmmm, |
I still see this in exploration builds but not insiders 🤷 |
Is there something special about exploration builds? I just added a try catch |
@lramos15 yeah maybe how uncaught exceptions are handled and reported. This one you cannot really catch as it happens from an event handler: |
Yeah like I said not sure what we should do here as one module expects node and another module expects window and the shared process is a bit in between |
This is still happening. Btw found microsoft/ApplicationInsights-node.js#367. Maybe we need to contribute a PR. |
Is the issue saying we're trying to use the node SDK in the electron renderer? |
Yeah in the renderer we get the |
Maybe we should be using the web SDK in the renderer then? We use the web telemetry reporter in the |
Yeah that sounds reasonable. Though the fact that the shared process is a browser window is a bit of a debt issue, eventually we probably want to go away from running it as hidden window and use a pure node.js process once #131798 landed. Given that, maybe we should just ignore the issue for now until we get to a real node.js process. |
Going to reopen this since it hasn't really been fixed and Daniel is seeing the issue as well. We are working on switching modules so maybe that will help but still want to keep this as a tracking issue. |
Closing this as we have switched modules |
Seeing in shared process:
Originates from
Sender.ts
of app insights it seems.https://ticino.blob.core.windows.net/sourcemaps/753319a08f8e74700b1dba3a29bf0a6af7c2953f/node_modules/applicationinsights/Library/Sender.ts
The text was updated successfully, but these errors were encountered: