Throw error messages on stderr

This commit is contained in:
Steven Barth 2008-10-31 20:57:07 +00:00
parent 7b99529d95
commit be090ec9a7

View file

@ -108,6 +108,7 @@ function httpdispatch(request)
local stat, err = util.copcall(dispatch, context.request) local stat, err = util.copcall(dispatch, context.request)
if not stat then if not stat then
luci.util.perror(err)
error500(err) error500(err)
end end