# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1564446186 -7200
# Node ID 659ffa03f1e7074c4d256bb6f0167561b6e392a9
# Parent  1dbabbebb53c714790cc7cd82e846d2b4f81ef3f
util.startup: Remove tostring call from logging

Taken care of by loggingmanager now

diff -r 1dbabbebb53c -r 659ffa03f1e7 util/startup.lua
--- a/util/startup.lua	Tue Jul 30 02:20:27 2019 +0200
+++ b/util/startup.lua	Tue Jul 30 02:23:06 2019 +0200
@@ -251,9 +251,9 @@
 		local ok, level, err = config.load(prosody.config_file);
 		if not ok then
 			if level == "parser" then
-				log("error", "There was an error parsing the configuration file: %s", tostring(err));
+				log("error", "There was an error parsing the configuration file: %s", err);
 			elseif level == "file" then
-				log("error", "Couldn't read the config file when trying to reload: %s", tostring(err));
+				log("error", "Couldn't read the config file when trying to reload: %s", err);
 			end
 		else
 			prosody.events.fire_event("config-reloaded", {