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 | 8dba7528d5d580e965a4a44bd590cf5259564446 (patch) | |
tree | 732b34499282183dc46773e7b7b90e322638a008 /util | |
parent | 680d10732be09705c1fdb2891dd72de260b97c08 (diff) | |
download | prosody-8dba7528d5d580e965a4a44bd590cf5259564446.tar.gz prosody-8dba7528d5d580e965a4a44bd590cf5259564446.zip |
util.startup: Remove tostring call from logging
Taken care of by loggingmanager now
Diffstat (limited to 'util')
-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", { |