diff --git a/src/Models/ThemeConfig/Conversion/PrepareTheme.ts b/src/Models/ThemeConfig/Conversion/PrepareTheme.ts index 2b995f757..0da7d76c2 100644 --- a/src/Models/ThemeConfig/Conversion/PrepareTheme.ts +++ b/src/Models/ThemeConfig/Conversion/PrepareTheme.ts @@ -172,13 +172,12 @@ class AddDefaultLayers extends DesugaringStep { for (const layerName of Constants.added_by_default) { const v = state.sharedLayers.get(layerName) if (v === undefined) { - context.err( - "Default layer " + - layerName + - " not found. " + - state.sharedLayers.size + - " layers are available" - ) + const msg = `Default layer ${layerName} not found. ${state.sharedLayers.size} layers are available` + if (layerName === "favourite") { + context.warn(msg) + continue + } + context.err(msg) continue } if (alreadyLoaded.has(v.id)) {