Diff

plugins/mod_http.lua @ 4720:fddc2797a96a

mod_http: Link to docs on routes in error message
author Matthew Wild <mwild1@gmail.com>
date Fri, 27 Apr 2012 18:36:27 +0100
parent 4717:3c0321e3fa76
child 4721:1c6c4c53f08a
line wrap: on
line diff
--- 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