diff options
author | Matthew Wild <mwild1@gmail.com> | 2020-08-28 12:54:31 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2020-08-28 12:54:31 +0100 |
commit | fa462b850564ff370e466d679294795b43c41ada (patch) | |
tree | 6f0f4f7ce644b131aa3631ca6c504ff10df6399c /util/startup.lua | |
parent | 5c04c5ce383eca1e9b544885c67a976251ca12db (diff) | |
download | prosody-fa462b850564ff370e466d679294795b43c41ada.tar.gz prosody-fa462b850564ff370e466d679294795b43c41ada.zip |
util.startup: Init util.error with defaults if none given
Diffstat (limited to 'util/startup.lua')
-rw-r--r-- | util/startup.lua | 2 |
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) |