# HG changeset patch # User Matthew Wild # Date 1335548187 -3600 # Node ID fddc2797a96aef80ffbb1d7433690ad1fdec18ce # Parent 2087d42f1e77ab1c7e53ad733d7107c9cfce3adc mod_http: Link to docs on routes in error message diff -r 2087d42f1e77 -r fddc2797a96a 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