prosody

changeset 1557
64837ed2d112
parent 1532
9150aeca9755
child 1561
04442f3ebe40
--- a/prosody	Sat Jul 18 15:11:10 2009 +0100
+++ b/prosody	Sat Jul 18 15:33:16 2009 +0100
@@ -106,6 +106,7 @@
 				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

mercurial