Throw error messages on stderr
[project/luci.git] / libs / web / luasrc / dispatcher.lua
index 645ea97..fe5f656 100644 (file)
@@ -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