diff --git a/app/Browser/Jobs/Instagram/InstagramAbstractJob.php b/app/Browser/Jobs/Instagram/InstagramAbstractJob.php index 5458d37..f33ee92 100644 --- a/app/Browser/Jobs/Instagram/InstagramAbstractJob.php +++ b/app/Browser/Jobs/Instagram/InstagramAbstractJob.php @@ -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 } } }