From 64f4f4a0acedeaaab5ce116a524a681d2d26ba46 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 25 Mar 2021 14:08:50 +0100 Subject: [PATCH] Fix wrong error message when loading teams --- www/common/outer/team.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/outer/team.js b/www/common/outer/team.js index 932e53e9f..e5bab79a8 100644 --- a/www/common/outer/team.js +++ b/www/common/outer/team.js @@ -547,8 +547,8 @@ define([ lastKnownHash: rosterData.lastKnownHash, onCacheReady: function (_roster) { if (!cache) { return; } - console.error('Corrupted roster cache, cant load this team offline', teamData); if (_roster && _roster.error === "CORRUPTED") { + console.error('Corrupted roster cache, cant load this team offline', teamData); if (lm && typeof(lm.stop) === "function") { lm.stop(); } waitFor.abort(); cb({error: 'CACHE_CORRUPTED_ROSTER'});