From ec1cc92c8b12b36d8d08483e58b758593ba8c015 Mon Sep 17 00:00:00 2001 From: Gregoire Parant Date: Tue, 16 Nov 2021 11:23:18 +0100 Subject: [PATCH] replace console log by error Signed-off-by: Gregoire Parant --- front/src/Connexion/Room.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/Connexion/Room.ts b/front/src/Connexion/Room.ts index 0f4bb20c..dd80b704 100644 --- a/front/src/Connexion/Room.ts +++ b/front/src/Connexion/Room.ts @@ -112,7 +112,7 @@ export class Room { this._contactPage = data.contactPage || CONTACT_URL; return new MapDetail(data.mapUrl, data.textures); } catch (e) { - console.log("Error => getMapDetail", e, e.response); + console.error("Error => getMapDetail", e, e.response); //TODO fix me and manage Error class if (e.response?.data === "Token decrypted error") { localUserStore.setAuthToken(null);