From f9f28abdb3c2a71829de6ce678f0d580221e0d37 Mon Sep 17 00:00:00 2001 From: Alex Naidis Date: Fri, 11 Jul 2025 18:40:45 +0200 Subject: [PATCH] fix: utils: Properly raise error when we fail to get chromedriver --- src/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils.py b/src/utils.py index d73bf0a..5bb3af6 100644 --- a/src/utils.py +++ b/src/utils.py @@ -194,6 +194,8 @@ def get_webdriver(proxy: dict = None) -> WebDriver: windows_headless=windows_headless, headless=get_config_headless()) except Exception as e: logging.error("Error starting Chrome: %s" % e) + # No point in continuing if we cannot retrieve the driver + raise e # save the patched driver to avoid re-downloads if driver_exe_path is None: