forked from MapComplete/MapComplete
Robuster handling of allKnownLayers
This commit is contained in:
parent
e555a19d30
commit
7427a9cb9b
2 changed files with 12 additions and 8 deletions
|
@ -27,7 +27,7 @@ export default class SourceConfig {
|
|||
defined++;
|
||||
}
|
||||
if (defined == 0) {
|
||||
throw "Source: nothing correct defined in the source"
|
||||
throw `Source: nothing correct defined in the source (in ${context}) (the params are ${JSON.stringify(params)})`
|
||||
}
|
||||
if(params.isOsmCache && params.geojsonSource == undefined){
|
||||
console.error(params)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue