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 #1651

Merged
merged 1 commit into from
Sep 1, 2021

Conversation

MSNev
Copy link
Collaborator

@MSNev MSNev commented Aug 31, 2021

No description provided.

@MSNev MSNev added this to the 2.7.0 milestone Aug 31, 2021
exception = e;
this._ai.trackException({ exception: autoTelemetry }, { custom: "custom value" });
} catch (e) {
console.log(e);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Are the console logs on purpose? But I guess it's fine to have in tests.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assert.ok(false) fails the test correct? and the stack is displayed as the error message. What is the purpose of console.log?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, console.log is for easier debugging the failure in a browser.

@MSNev MSNev merged commit 573f22e into master Sep 1, 2021
@MSNev MSNev deleted the MSNev/TrackException branch November 13, 2021 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants