Get daily free even if giveaway fails
All checks were successful
Push image to registry / build-image (push) Successful in 6m51s
All checks were successful
Push image to registry / build-image (push) Successful in 6m51s
This commit is contained in:
@ -47,7 +47,13 @@ class HellcaseJob extends BrowserJob implements ShouldBeUniqueUntilProcessing
|
||||
$this->removePopups($browser);
|
||||
sleep(5);
|
||||
$this->signin($browser);
|
||||
$this->joinFreeGiveaways($browser);
|
||||
try {
|
||||
$this->joinFreeGiveaways($browser);
|
||||
} catch (\Exception $e) {
|
||||
$this->jobRun->success = false;
|
||||
$this->jobRun->save();
|
||||
AllNotification::send(new JobErrorNotification($this->jobId, "Erreur lors de la participation aux concours gratuits", $e->getMessage()));
|
||||
}
|
||||
$this->getDailyFree($browser);
|
||||
|
||||
$this->jobRun->success = true;
|
||||
|
Reference in New Issue
Block a user