Software /
code /
prosody
Diff
plugins/mod_http.lua @ 11400:19a59cb7311e
mod_http: Improve message for missing 'route'
This was the late night early draft text, thought I had amended this but
apparently I forgot.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 23 Feb 2021 16:07:41 +0100 |
parent | 11399:d5d895313be2 |
child | 11408:1b6298e7b550 |
line wrap: on
line diff
--- a/plugins/mod_http.lua Sun Feb 21 01:00:00 2021 +0100 +++ b/plugins/mod_http.lua Tue Feb 23 16:07:41 2021 +0100 @@ -162,7 +162,7 @@ if not event.item.route then -- TODO: Link to docs - module:log("error", "HTTP app %q provides no 'route', a typo or mistake?", app_name); + module:log("error", "HTTP app %q provides no 'route', add one to handle HTTP requests", app_name); return; end