Added error handling if cookie retrieval fails

This commit is contained in:
2023-05-30 10:26:04 +02:00
parent 067e7233a0
commit 991800728e
4 changed files with 43 additions and 25 deletions
+3
View File
@@ -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;