From eb141f00e585a9f6d2989245ab3244dd41c0d434 Mon Sep 17 00:00:00 2001 From: Matthias Guillitte Date: Sat, 1 Nov 2025 15:37:48 +0100 Subject: [PATCH] Fix wrong error logged --- app/Browser/Jobs/Instagram/InstagramAbstractJob.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 } } }