Merge pull request #1327 from thecodingmachine/hotFixErrorCardBack

Fix error generated
This commit is contained in:
grégoire parant 2021-08-02 21:38:37 +02:00 committed by GitHub
commit 41748a4036
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,9 @@ class MapFetcher {
}); });
if (!isTiledMap(res.data)) { if (!isTiledMap(res.data)) {
throw new Error("Invalid map format for map " + mapUrl); //TODO fixme
//throw new Error("Invalid map format for map " + mapUrl);
console.error("Invalid map format for map " + mapUrl);
} }
return res.data; return res.data;