From 808ef38da16fdb60a2c37890792aa38cf4b35b25 Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Sun, 3 Nov 2024 21:59:26 +0100 Subject: [PATCH] fix catch --- app/Console/Commands/SyncLadder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/SyncLadder.php b/app/Console/Commands/SyncLadder.php index e6f800f..82450d1 100644 --- a/app/Console/Commands/SyncLadder.php +++ b/app/Console/Commands/SyncLadder.php @@ -58,7 +58,7 @@ class SyncLadder extends Command { foreach ($ladderSchedule as $ladderEntry) { try { $this->syncSchedule($event, $ladderEntry); - } catch (Exception $e) { + } catch (\Exception $e) { $this->error('error syncing episode '.$ladderEntry['race_id'].': '.$e->getMessage()); } } -- 2.39.2