Throw error messages on stderr
This commit is contained in:
parent
7b99529d95
commit
be090ec9a7
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue