Skip to content

Locator: pass on last exception message#90

Open
gerryd wants to merge 1 commit intoplaywright-php:mainfrom
gerryd:feature/locator-exception
Open

Locator: pass on last exception message#90
gerryd wants to merge 1 commit intoplaywright-php:mainfrom
gerryd:feature/locator-exception

Conversation

@gerryd
Copy link

@gerryd gerryd commented Mar 25, 2026

Currently, the exception thrown in Locator is not very informative. Having a hint of why the failure occurred would help debugging.

All of the information I needed was in the original exception which led to the timeout, so I think it makes sense to pass on this message instead of hiding it.

Currently, the exception thrown in Locator is not very informative.
Having a hint of why the failure occurred would help debugging.
@codecov
Copy link

codecov bot commented Mar 25, 2026

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/Locator/Locator.php 66.66% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

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.

1 participant