From be090ec9a7a5579836a879f70a1a30281548d301 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 31 Oct 2008 20:57:07 +0000 Subject: [PATCH] Throw error messages on stderr --- libs/web/luasrc/dispatcher.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua index 645ea972e..fe5f656ba 100644 --- a/libs/web/luasrc/dispatcher.lua +++ b/libs/web/luasrc/dispatcher.lua @@ -108,6 +108,7 @@ function httpdispatch(request) local stat, err = util.copcall(dispatch, context.request) if not stat then + luci.util.perror(err) error500(err) end -- 2.11.0