X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=libs%2Fweb%2Fluasrc%2Fdispatcher.lua;h=fe5f656ba869266f60c2daee494526b9552f62cd;hp=645ea972e622faefd09e478ceaff6dc4e3ab4392;hb=be090ec9a7a5579836a879f70a1a30281548d301;hpb=8c4492db5fac28d1c143931316e4ccb7f877e6ec diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua index 645ea972e..fe5f656ba 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