File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
linkedin_mcp_server/drivers Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -339,11 +339,13 @@ def handle_driver_error() -> None:
339
339
config .chrome .chromedriver_path = path
340
340
os .environ ["CHROMEDRIVER" ] = path
341
341
print (f"✅ ChromeDriver path set to: { path } " )
342
- # Try again with the new path
343
- initialize_driver ()
342
+ print ("💡 Please restart the application to use the new ChromeDriver path." )
343
+ print (" Example: uv run main.py" )
344
+ sys .exit (0 )
344
345
else :
345
346
print (f"⚠️ Warning: The specified path does not exist: { path } " )
346
- initialize_driver ()
347
+ print ("💡 Please check the path and restart the application." )
348
+ sys .exit (1 )
347
349
348
350
elif answers ["chromedriver_action" ] == "help" :
349
351
print ("\n 📋 ChromeDriver Installation Guide:" )
You can’t perform that action at this time.
0 commit comments