Diff

util/startup.lua @ 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
parent 11050:51be24b16e8a
child 11074:3473bc8d80c9
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)