aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xprosody1
1 files changed, 1 insertions, 0 deletions
diff --git a/prosody b/prosody
index d11e463d..4e9ab2cc 100755
--- a/prosody
+++ b/prosody
@@ -106,6 +106,7 @@ function init_global_state()
log("error", "Couldn't read the config file when trying to reload: %s", tostring(err));
end
end
+ return ok, (err and tostring(level)..": "..tostring(err)) or nil;
end
-- Function to reopen logfiles