-
Notifications
You must be signed in to change notification settings - Fork 237
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
[BUG] Custom properties added with addTelemetryInitializer are ignored for exceptions #1262
Comments
This is an issue with the way that the exception envelope is created. |
I'm also tagging as an enhancement as it appears to have been like this for a while -- it assumes that custom properties are passed to the trackException() which they aren't for automatically caught exceptions |
i had raised this issue almost a year back and it was closed stating this was fixed. |
Release is now fully deployed |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description/Screenshot
Custom properties added with addTelemetryInitializer are ignored for exceptions
Custom property session_id is only send for custom events. It is not send with any exception
Steps to Reproduce
init telemetry with custom properties
Calling examples
Chrome: Version 81.0.4044.129 (Offizieller Build) (64-Bit)
"@microsoft/applicationinsights-react-js": "^2.5.4",
"@microsoft/applicationinsights-web": "^2.5.4",
https://github.com/Azure-Samples/application-insights-react-demo/blob/master/src/TelemetryService.js
Expected behavior
session_id should also be send on exception like it is send when custom events are triggered.
Additional context
No
The text was updated successfully, but these errors were encountered: