Skip to content

Commit 85267b8

Browse files
committed
chore: handle PageConnectionError in CLI mode
1 parent 991f174 commit 85267b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

brozzler/cli.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,8 @@ def on_screenshot(screenshot_jpeg):
411411
logger.exception("reached limit")
412412
except brozzler.PageInterstitialShown:
413413
logger.exception("page interstitial shown")
414+
except brozzler.PageConnectionError:
415+
logger.exception("Error between Chrome and Warcprox")
414416
finally:
415417
browser.stop()
416418

0 commit comments

Comments
 (0)