Fix error generated

Don't generate error if file is Invalid
This commit is contained in:
Gregoire Parant 2021-08-02 21:34:03 +02:00
parent 3b1d4d630c
commit 4991a70bba

View File

@ -27,7 +27,9 @@ class MapFetcher {
});
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;