summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rw-r--r--script/provider/provider.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index 2fb999e7..10348fac 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -42,6 +42,11 @@ local function updateConfig()
exclude = configs[3],
}
+ if not updated then
+ log.warn('No config?', util.dump(configs))
+ return
+ end
+
local oldConfig = util.deepCopy(config.config)
local oldOther = util.deepCopy(config.other)
config.setConfig(updated, other)