Software /
code /
prosody
Changeset
11052:1f42b08b134f
util.startup: Init util.error with defaults if none given
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 28 Aug 2020 12:54:31 +0100 |
parents | 11051:08539aa129ee |
children | 11053:04ad9555c799 |
files | util/startup.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util/startup.lua Fri Aug 28 12:51:40 2020 +0100 +++ b/util/startup.lua Fri Aug 28 12:54:31 2020 +0100 @@ -547,7 +547,7 @@ 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)