mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
Update ubus call logs
This commit is contained in:
parent
4855d91797
commit
adfdb54d62
1 changed files with 1 additions and 1 deletions
|
|
@ -263,7 +263,7 @@ static int __dm_ubus_call_sync_entry(struct ubus_context *ubus_ctx, struct dm_ub
|
||||||
|
|
||||||
if (err != 0) {
|
if (err != 0) {
|
||||||
const char *err_msg = (err >= 0 && err < __UBUS_STATUS_LAST) ? dm_ubus_str_error[err] : "Unknown error";
|
const char *err_msg = (err >= 0 && err < __UBUS_STATUS_LAST) ? dm_ubus_str_error[err] : "Unknown error";
|
||||||
BBF_ERR("UBUS invoke failed [object: %s, method: %s, timeout: %d ms] with error (%s:%d)",
|
BBF_WARNING("UBUS invoke failed [object: %s, method: %s, timeout: %d ms] with error (%s:%d)",
|
||||||
obj, method, timeout, err_msg, err);
|
obj, method, timeout, err_msg, err);
|
||||||
|
|
||||||
if (err == UBUS_STATUS_TIMEOUT) {
|
if (err == UBUS_STATUS_TIMEOUT) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue