summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-10-31 20:57:07 +0000
committerSteven Barth <steven@midlink.org>2008-10-31 20:57:07 +0000
commitbe090ec9a7a5579836a879f70a1a30281548d301 (patch)
treed1de93c6c182cf706190b4ca7e950033c3f27172 /libs
parent7b99529d954a19f2b5003d2c14ae2e7a6a30d5cf (diff)
Throw error messages on stderr
Diffstat (limited to 'libs')
-rw-r--r--libs/web/luasrc/dispatcher.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua
index 645ea972e6..fe5f656ba8 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