projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b99529
)
Throw error messages on stderr
author
Steven Barth
<steven@midlink.org>
Fri, 31 Oct 2008 20:57:07 +0000
(20:57 +0000)
committer
Steven Barth
<steven@midlink.org>
Fri, 31 Oct 2008 20:57:07 +0000
(20:57 +0000)
libs/web/luasrc/dispatcher.lua
patch
|
blob
|
history
diff --git
a/libs/web/luasrc/dispatcher.lua
b/libs/web/luasrc/dispatcher.lua
index 645ea972e622faefd09e478ceaff6dc4e3ab4392..fe5f656ba869266f60c2daee494526b9552f62cd 100644
(file)
--- 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