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

Mute no_server_response error when back navigation is detected #7342

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

konstantin-msft
Copy link
Collaborator

@konstantin-msft konstantin-msft commented Sep 25, 2024

  • Mute no_server_response error when back navigation is detected. This change addresses an issue with handleRedirectPromise that instruments "no_server_response" error code when user navigates back to the app page from account picker UX.

@github-actions github-actions bot added the msal-browser Related to msal-browser package label Sep 25, 2024
@konstantin-msft konstantin-msft changed the title Mute no_server_response error when back navigation is detected. Mute no_server_response error when back navigation is detected Sep 25, 2024
@konstantin-msft konstantin-msft merged commit 471ea55 into dev Sep 27, 2024
7 checks passed
@konstantin-msft konstantin-msft deleted the handle_redirect_capture_back_button branch September 27, 2024 11:54
if (getNavigationType() !== "back_forward") {
parentMeasurement.event.errorCode = "no_server_response";
} else {
this.logger.verbose(
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we have some other errorcode we log here specifically for clicking the back button?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
msal-browser Related to msal-browser package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants