Update ubus call logs

This commit is contained in:
Vivek Dutta 2025-10-30 10:45:49 +05:30 committed by IOPSYS Dev
parent 4855d91797
commit adfdb54d62
No known key found for this signature in database

View file

@ -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) {