Skip to content
Commit aef4bc3a authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci-base: rpc.js: add getStatusText() call



The new function allows translating an ubus return code into a human
readable error message.

Also report the called object and method on ubus rpc errors.

Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 93af8a3a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment