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

Format errors for readability #159

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

tristanlabelle
Copy link
Contributor

Before:

ErrorResponse(status: WebDriver.ErrorResponse.Status(rawValue: 7), value: WebDriver.ErrorResponse.Value(error: Optional("no such element"), message: "An element could not be located on the page using the given search parameters.", stacktrace: nil))

After:

Error 7 (no such element): An element could not be located on the page using the given search parameters.

@tristanlabelle tristanlabelle requested review from jeffdav and a team October 25, 2024 19:48
@tristanlabelle tristanlabelle requested a review from a team October 25, 2024 20:28
@tristanlabelle tristanlabelle merged commit 6bab14f into main Oct 25, 2024
4 checks passed
@tristanlabelle tristanlabelle deleted the tristan/ErrorResponse-CustomStringConvertible branch October 25, 2024 20:28
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.

2 participants