From: Daniel Karbach Date: Sun, 3 Nov 2024 20:59:26 +0000 (+0100) Subject: fix catch X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=808ef38da16fdb60a2c37890792aa38cf4b35b25;p=alttp.git fix catch --- 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()); } }