summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-admin-full/luasrc/controller
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2016-08-04 11:37:13 +0200
committerJo-Philipp Wich <jo@mein.io>2016-08-04 11:45:30 +0200
commit240b8c4b6e5597f3f89f4382df49c123ab114c46 (patch)
tree69659066ce9e75be45b3d9842ccf9fa3f7593f11 /modules/luci-mod-admin-full/luasrc/controller
parent1367f7b624e9ee926cdbd3235a9fec4450c904b5 (diff)
luci-base: improve string format error reporting
In mod metamethod, execute string format under pcall() and rethrow error in caller context to report caller of function in errors and not the meta method itself. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-admin-full/luasrc/controller')
0 files changed, 0 insertions, 0 deletions