replace console log by error
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
This commit is contained in:
parent
c1dc438138
commit
ec1cc92c8b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user