forked from MapComplete/MapComplete
Fix: incorrect path in error message
This commit is contained in:
parent
7f6c1f06e2
commit
5da895276c
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ export default class ScriptUtils {
|
||||||
const parsed = JSON.parse(contents)
|
const parsed = JSON.parse(contents)
|
||||||
return { parsed, path }
|
return { parsed, path }
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error("Could not parse file ", "./assets/layers/" + path, "due to ", e)
|
console.error("Could not parse file ", path, "due to ", e)
|
||||||
throw e
|
throw e
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue