Added debug messages

This commit is contained in:
2025-06-05 16:31:23 +02:00
parent 69fdad8f4e
commit d498203147

View File

@ -189,7 +189,8 @@ class InstagramRepostJob extends BrowserJob implements ShouldBeUniqueUntilProces
"content" => ""
]));
} catch (\Exception $e) {
dump($e->getMessage());
$browser->screenshot(JobDebugScreenshot::getFileName($this->jobId));
AllNotification::send(new JobDebugNotification($this->jobId, "Unknown error when trying to repost reels : " . $e->getMessage()));
} finally {
// Removes all videos in the download folder
$files = glob($this->downloadFolder . '*'); // Get all files in the download folder