Added error handling if cookie retrieval fails
This commit is contained in:
@@ -255,6 +255,9 @@ namespace Test_Merge
|
||||
string message = "";
|
||||
switch (errorCode)
|
||||
{
|
||||
case 100:
|
||||
message = "Error " + errorCode + " Could not recover cookies. It could be because of an improper installation of python or bad cookies in the chrome database. Please try to log on to the F1TV using chrome again";
|
||||
break;
|
||||
case 101:
|
||||
message = "Error " + errorCode + " Could not start the driver. It could be because an other instance is runnin make sure you closed them all before trying again";
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user