diff options
author | Jo-Philipp Wich <jo@mein.io> | 2016-08-04 11:37:13 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-08-04 11:45:30 +0200 |
commit | 240b8c4b6e5597f3f89f4382df49c123ab114c46 (patch) | |
tree | 69659066ce9e75be45b3d9842ccf9fa3f7593f11 /modules/luci-mod-admin-full/src | |
parent | 1367f7b624e9ee926cdbd3235a9fec4450c904b5 (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/src')
0 files changed, 0 insertions, 0 deletions