lwm2m - fix bug info if first update Fw/Sw - failed (change text msg)
This commit is contained in:
parent
fa0e1966b3
commit
5daeb0a12c
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user