mod_http: Link to docs on routes in error message
authorMatthew Wild <mwild1@gmail.com>
Fri, 27 Apr 2012 18:36:27 +0100
changeset 4720 fddc2797a96a
parent 4719 2087d42f1e77
child 4721 1c6c4c53f08a
mod_http: Link to docs on routes in error message
plugins/mod_http.lua
--- a/plugins/mod_http.lua	Fri Apr 27 18:35:33 2012 +0100
+++ b/plugins/mod_http.lua	Fri Apr 27 18:36:27 2012 +0100
@@ -67,7 +67,7 @@
 					module:log("warn", "App %s added handler twice for '%s', ignoring", app_name, event_name);
 				end
 			else
-				module:log("error", "Invalid route in %s: %q", app_name, key);
+				module:log("error", "Invalid route in %s, %q. See http://prosody.im/doc/developers/http#routes", app_name, key);
 			end
 		end
 	end