Skip to content
Snippets Groups Projects
Commit 88cf1a57 authored by Sanjeev-SLB's avatar Sanjeev-SLB
Browse files

Fixed exception error

parent 32c20cfc
No related branches found
No related tags found
3 merge requests!232Update os-core-lib-azure,!231initial commit,!201Fixed exceptions
Pipeline #102582 failed
Pipeline: Notification

#102585

    ......@@ -82,14 +82,13 @@ public class ProcessNotification {
    if (!response.isSuccessCode()) {
    telemetryClient.trackRequest(requestTelemetry);
    LOGGER.error(NOT_ACKNOWLEDGE);
    throw new Exception(NOT_ACKNOWLEDGE);
    }else{
    requestTelemetry.setResponseCode("200");
    requestTelemetry.setSuccess(true);
    telemetryClient.trackRequest(requestTelemetry);
    }
    } catch (Exception e) {
    LOGGER.error(String.format("An error occurred performing Notification for message with ID: ", message.getMessageId()), e);
    throw e;
    } finally {
    ThreadScopeContextHolder.getContext().clear();
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment