Changeset

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
parents 11399:d5d895313be2
children 11401:228bd43fbc3d
files plugins/mod_http.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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