Fix wrong error logged
All checks were successful
Push image to registry / build-image (push) Successful in 3m3s
All checks were successful
Push image to registry / build-image (push) Successful in 3m3s
This commit is contained in:
@@ -88,7 +88,7 @@ abstract class InstagramAbstractJob extends BrowserJob implements ShouldBeUnique
|
|||||||
AllNotification::send(new JobDebugNotification($this->jobId, "Instagram login failed: Incorrect password."));
|
AllNotification::send(new JobDebugNotification($this->jobId, "Instagram login failed: Incorrect password."));
|
||||||
// Stop the job run
|
// Stop the job run
|
||||||
throw new \Exception("Instagram login failed: Incorrect password.");
|
throw new \Exception("Instagram login failed: Incorrect password.");
|
||||||
} catch (\Facebook\WebDriver\Exception\TimeoutException $e) {
|
} catch (\Facebook\WebDriver\Exception\TimeoutException $i) {
|
||||||
// Not the expected error, continue
|
// Not the expected error, continue
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -133,9 +133,9 @@ abstract class InstagramAbstractJob extends BrowserJob implements ShouldBeUnique
|
|||||||
}
|
}
|
||||||
$button->click();
|
$button->click();
|
||||||
sleep(2);
|
sleep(2);
|
||||||
return; // Exit after clicking the first popup found
|
//return; // Exit after clicking the first popup found
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
// Porbably no popup found, continue
|
// Probably no popup found, continue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user