]> git.localhorst.tv Git - alttp.git/commitdiff
fix catch
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Sun, 3 Nov 2024 20:59:26 +0000 (21:59 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Sun, 3 Nov 2024 21:08:23 +0000 (22:08 +0100)
app/Console/Commands/SyncLadder.php

index e6f800fea86a7c0641a1d95808786c7895bf2476..82450d10327db1b342697c7d3bc99c3961b7b9ed 100644 (file)
@@ -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());
                        }
                }