Fix error generated
Don't generate error if file is Invalid
This commit is contained in:
parent
3b1d4d630c
commit
4991a70bba
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue