fix: utils: Properly raise error when we fail to get chromedriver

This commit is contained in:
Alex Naidis 2025-07-11 18:40:45 +02:00
parent cdde82be32
commit f9f28abdb3
No known key found for this signature in database
GPG Key ID: 683D907272288811

View File

@ -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: