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: