aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2020-08-28 12:54:31 +0100
committerMatthew Wild <mwild1@gmail.com>2020-08-28 12:54:31 +0100
commitfa462b850564ff370e466d679294795b43c41ada (patch)
tree6f0f4f7ce644b131aa3631ca6c504ff10df6399c /util
parent5c04c5ce383eca1e9b544885c67a976251ca12db (diff)
downloadprosody-fa462b850564ff370e466d679294795b43c41ada.tar.gz
prosody-fa462b850564ff370e466d679294795b43c41ada.zip
util.startup: Init util.error with defaults if none given
Diffstat (limited to 'util')
-rw-r--r--util/startup.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/startup.lua b/util/startup.lua
index 40021981..a8d8594c 100644
--- a/util/startup.lua
+++ b/util/startup.lua
@@ -547,7 +547,7 @@ function startup.init_gc()
end
function startup.init_errors()
- require "util.error".configure(config.get("*", "error_library"));
+ require "util.error".configure(config.get("*", "error_library") or {});
end
function startup.make_host(hostname)