diff options
author | Kim Alvefur <zash@zash.se> | 2019-07-30 02:23:06 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-07-30 02:23:06 +0200 |
commit | 57b3a1dc873aa16a723e8ee90349ca3d94cc9f46 (patch) | |
tree | 732b34499282183dc46773e7b7b90e322638a008 | |
parent | e3276738b31e4afc377b3a8991b9cf771b7d5309 (diff) | |
download | prosody-57b3a1dc873aa16a723e8ee90349ca3d94cc9f46.tar.gz prosody-57b3a1dc873aa16a723e8ee90349ca3d94cc9f46.zip |
util.startup: Remove tostring call from logging
Taken care of by loggingmanager now
-rw-r--r-- | util/startup.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/startup.lua b/util/startup.lua index 7a1a95aa..ab595526 100644 --- a/util/startup.lua +++ b/util/startup.lua @@ -251,9 +251,9 @@ function startup.add_global_prosody_functions() 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", { |