Ignore erroneous errors in a process.onunhandledexception
catchall
#10801
-
I work on a VS Code extension and we have recently started to run into issues where we are getting massive amounts of errors from other extensions, leading to us quickly hitting our reporting limits of the month. The problem here is because all VS Code extensions run on the same process, which means the I'm wondering if there is some supported way of getting around this? I have tried things like deduplication as well as rate limiting from client side, but there could be something else that I am missing. Maybe even something we could do from our project's dashboard? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@caleb-at-pieces I recommend not hooking into global handlers for vs code extensions - you also have PII issues with things bleeding in from other extensions. Unfortunately manually try catching everything you care about is prob the way to go. In our new major v8 we should improve the async context story here, so it should be easier to have setups like this. Please follow #9508 for progress on that. |
Beta Was this translation helpful? Give feedback.
@caleb-at-pieces I recommend not hooking into global handlers for vs code extensions - you also have PII issues with things bleeding in from other extensions.
Unfortunately manually try catching everything you care about is prob the way to go.
In our new major v8 we should improve the async context story here, so it should be easier to have setups like this. Please follow #9508 for progress on that.