Commit 659bcc37 authored by Sanjeev-SLB's avatar Sanjeev-SLB
Browse files

Fixed error log

parent 21f511a9
Pipeline #100404 canceled with stages
in 4 minutes and 40 seconds
......@@ -82,7 +82,11 @@ public class ProcessNotification {
if (!response.isSuccessCode()) {
telemetryClient.trackRequest(requestTelemetry);
throw new Exception(NOT_ACKNOWLEDGE);
if(message.getDeliveryCount()>8){
LOGGER.info("Message delivery status is 'Abandon' with notificationId: {}, Count: {}", notificationContent.getNotificationId(), message.getDeliveryCount());
} else {
LOGGER.error(NOT_ACKNOWLEDGE);
}
}else{
requestTelemetry.setResponseCode("200");
requestTelemetry.setSuccess(true);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment