Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Conversation

@aerych
Copy link
Contributor

@aerych aerych commented Jun 24, 2021

This PR intentionally logs the attempted URL when there is an error trying to connect to a site address, since not all errors include the address. This will help happiness engineers to troubleshoot issues with a site before responding to a help request.

This can be tested with the related WPiOS PR: wordpress-mobile/WordPress-iOS#16747

@ScoutHarris would you mind?

@aerych aerych self-assigned this Jun 24, 2021
@aerych aerych requested a review from ScoutHarris June 24, 2021 22:06
@aerych aerych marked this pull request as ready for review June 24, 2021 22:06
Copy link
Contributor

@ScoutHarris ScoutHarris left a comment

Choose a reason for hiding this comment

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

}

// Intentionally log the attempted address on failures.
// It's not guarenteed to be included in the error object depending on the error.
Copy link
Contributor

Choose a reason for hiding this comment

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

guarenteed - so close! 😄

@aerych aerych merged commit b3ac8fe into develop Jun 24, 2021
@aerych aerych deleted the issues/log-site-address-on-errors branch June 24, 2021 23:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants