lwm2m - fix bug info if first update Fw/Sw - failed (change text msg)

This commit is contained in:
nickAS21 2021-11-01 13:10:12 +02:00
parent fa0e1966b3
commit 5daeb0a12c
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ public class LwM2mTransportCoapResource extends AbstractLwM2mTransportResource {
}
exchange.respond(response);
} else {
log.trace("Ota packaged currentId: [{}], is not in this session.", currentId.toString());
log.trace("Ota packaged currentId: [{}] is not found.", currentId.toString());
}
}

View File

@ -400,7 +400,7 @@ public class DefaultLwM2MOtaUpdateService extends LwM2MExecutorAwareService impl
startUpdateUsingBinary(client, fwInfo);
}
} else {
log.debug("[{}] failed to update client: [{}], previous update failed.", client.getEndpoint(), fwInfo);
log.debug("[{}] failed to process firmware update: [{}]. Previous update failed.", client.getEndpoint(), fwInfo);
logService.log(client, "Failed to process firmware update: " + fwInfo + ". Previous update failed.");
}
} catch (Exception e) {