aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_http.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-02-23 16:07:41 +0100
committerKim Alvefur <zash@zash.se>2021-02-23 16:07:41 +0100
commit4ed5700a1910ee95897b0df3b2f1e5eaf0343b6e (patch)
treefb4564b39279141dfb151db2ccdb2a7eb8f41c4d /plugins/mod_http.lua
parent19eb9076130c575a32eb25175630357a1c375917 (diff)
downloadprosody-4ed5700a1910ee95897b0df3b2f1e5eaf0343b6e.tar.gz
prosody-4ed5700a1910ee95897b0df3b2f1e5eaf0343b6e.zip
mod_http: Improve message for missing 'route'
This was the late night early draft text, thought I had amended this but apparently I forgot.
Diffstat (limited to 'plugins/mod_http.lua')
-rw-r--r--plugins/mod_http.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_http.lua b/plugins/mod_http.lua
index 43d65b38..8701016e 100644
--- a/plugins/mod_http.lua
+++ b/plugins/mod_http.lua
@@ -162,7 +162,7 @@ function module.add_host(module)
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