fix: replace silent error swallowing with console.warn and user-facing error messages

All empty catch blocks across 8 Vue pages now log warnings. User-initiated
actions (fight, matchmake) also surface errors in the UI via fightError/loadError refs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-07 23:49:45 +00:00
co-authored by Claude Opus 4.6
parent a4008bcf88
commit c98007e95c
8 changed files with 81 additions and 21 deletions
+3 -1
View File
@@ -21,7 +21,9 @@ onMounted(async () => {
const data = await res.json()
bots.value = data.sort((a: Bot, b: Bot) => b.eloRating - a.eloRating)
}
} catch { /* */ }
} catch (err) {
console.warn('[Schedule] load bots failed:', err)
}
isLoading.value = false
})