diff options
author | Steven Barth <steven@midlink.org> | 2008-10-31 20:57:07 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-10-31 20:57:07 +0000 |
commit | be090ec9a7a5579836a879f70a1a30281548d301 (patch) | |
tree | d1de93c6c182cf706190b4ca7e950033c3f27172 /libs/web/luasrc | |
parent | 7b99529d954a19f2b5003d2c14ae2e7a6a30d5cf (diff) |
Throw error messages on stderr
Diffstat (limited to 'libs/web/luasrc')
-rw-r--r-- | libs/web/luasrc/dispatcher.lua | 1 |
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 |