Skip to content
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] customProperties parameter missing from trackException function #1647

Closed
devin5885 opened this issue Aug 30, 2021 · 3 comments
Closed
Assignees
Milestone

Comments

@devin5885
Copy link

devin5885 commented Aug 30, 2021

Description/Screenshot
In some places the trackException function includes the customProperites parameter, in other places it does not. Without this parameter it does not seem to be possible to pass custom properties when logging an exception.

Steps to Reproduce
n/a

  • OS/Browser: Windows 10/Chrome
  • SDK Version [e.g. 22]: latest
  • How you initialized the SDK: yes
    n/a

Expected behavior
trackException should include this parameter in all cases.

Additional context
Add any other context about the problem here.

@MSNev
Copy link
Collaborator

MSNev commented Aug 30, 2021

Looks like it is missing from the AISKU/src/Initialization.ts version, not seeing anything obvious as to why this was not included in this version.

It's specifically not included in the AISKU/src/ApplicationInsights/Deprecated.ts due to backward compatibility using the older snippet and upgrading from v1.

Tagging this issue as a Bug so we add the additional customProperties?: ICustomProperties to Initialization only

@MSNev
Copy link
Collaborator

MSNev commented Sep 13, 2021

v2.7.0 is not fully deployed to NPM and all CDN endpoints

@MSNev MSNev closed this as completed Sep 13, 2021
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants