Fix error generated
Don't generate error if file is Invalid
This commit is contained in:
parent
3b1d4d630c
commit
4991a70bba
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user