From: Steven Barth Date: Fri, 31 Oct 2008 20:57:07 +0000 (+0000) Subject: Throw error messages on stderr X-Git-Tag: 0.9.0~1037 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=be090ec9a7a5579836a879f70a1a30281548d301;ds=sidebyside Throw error messages on stderr --- 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