Fix wrong error logged
All checks were successful
Push image to registry / build-image (push) Successful in 3m3s

This commit is contained in:
2025-11-01 15:37:48 +01:00
parent 5cd0aea7c8
commit eb141f00e5

View File

@@ -88,7 +88,7 @@ abstract class InstagramAbstractJob extends BrowserJob implements ShouldBeUnique
AllNotification::send(new JobDebugNotification($this->jobId, "Instagram login failed: Incorrect password."));
// Stop the job run
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
}
@@ -133,9 +133,9 @@ abstract class InstagramAbstractJob extends BrowserJob implements ShouldBeUnique
}
$button->click();
sleep(2);
return; // Exit after clicking the first popup found
//return; // Exit after clicking the first popup found
} catch (\Exception $e) {
// Porbably no popup found, continue
// Probably no popup found, continue
}
}
}