Skip to content

Commit f66a02c

Browse files
committed
fix: handle rewritten close telemetry error
1 parent 3702bfe commit f66a02c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

playwright/_impl/_waiter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def _wait_for_event_info_after(self, wait_id: str, error: Exception = None) -> N
7070
# waiter result has already been resolved, but the pipe may be closing.
7171
if (
7272
not is_target_closed_error(e)
73-
and e.message != "Playwright connection closed"
73+
and "Playwright connection closed" not in e.message
7474
):
7575
raise
7676

0 commit comments

Comments
 (0)