Skip to content

Commit d3e6885

Browse files
committed
fix bare exception.
1 parent a2a1a99 commit d3e6885

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dash/testing/browser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ def _try_get_webdriver(self):
472472
"""Wrapper that catches exceptions so until() can retry on transient failures."""
473473
try:
474474
return self.get_webdriver()
475-
except Exception:
475+
except WebDriverException:
476476
logger.exception("webdriver initialization failed, will retry")
477477
return None
478478

0 commit comments

Comments
 (0)