Description/Screenshot
When using appInsights as a snippet, unhandled exceptions are reported twice.
Screenshot:

Steps to Reproduce
- Open reproduction demo: https://7rslpk.csb.app/ ( https://codesandbox.io/p/sandbox/7rslpk )
- Open devtools network tab
- Wait for second request to
/track and check the payload
Expected behavior
Only one unhandled exception is reported.
Additional context