Skip to content

Commit

Permalink
GH-1634: change log level from ERROR to WARN in ServerEndpointsProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernard31 committed Aug 9, 2024
1 parent b05c759 commit 3d03a8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public void onNotification(Request coapRequest, Response coapResponse) {
Observation observation = server.getRegistrationStore().getObservation(regid,
new ObservationIdentifier(coapResponse.getToken().getBytes()));
if (observation == null) {
LOG.error("Unexpected error: Unable to find observation with token {} for registration {}",
LOG.warn("Unexpected error: Unable to find observation with token {} for registration {}",
coapResponse.getToken(), regid);
return;
}
Expand Down

0 comments on commit 3d03a8e

Please # to comment.