Software / code / prosody
Changeset
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 |
| parents | 4719:2087d42f1e77 |
| children | 4721:1c6c4c53f08a |
| files | plugins/mod_http.lua |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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