From 4a7124aed3aa726ef397bfd9d2f214cc8d8bb7ec Mon Sep 17 00:00:00 2001 From: khuddus shariff Date: Thu, 7 Dec 2023 16:04:16 +0530 Subject: [PATCH] [mosip 30470] uin genration Invalid input parameter Exception handeled Signed-off-by: khuddus shariff --- .../processor/stages/uingenerator/stage/UinGeneratorStage.java | 1 + 1 file changed, 1 insertion(+) diff --git a/registration-processor/core-processor/registration-processor-uin-generator-stage/src/main/java/io/mosip/registration/processor/stages/uingenerator/stage/UinGeneratorStage.java b/registration-processor/core-processor/registration-processor-uin-generator-stage/src/main/java/io/mosip/registration/processor/stages/uingenerator/stage/UinGeneratorStage.java index dbd6b9ab607..73e2dc70242 100644 --- a/registration-processor/core-processor/registration-processor-uin-generator-stage/src/main/java/io/mosip/registration/processor/stages/uingenerator/stage/UinGeneratorStage.java +++ b/registration-processor/core-processor/registration-processor-uin-generator-stage/src/main/java/io/mosip/registration/processor/stages/uingenerator/stage/UinGeneratorStage.java @@ -280,6 +280,7 @@ public MessageDTO process(MessageDTO object) { uinField, description); if(idResponseDTO.getErrors()!=null && idResponseDTO.getErrors().get(0).getErrorCode().equalsIgnoreCase(INVALID_INPUT_PARAMETER_ERROR_CODE)) { for (int i = 0; i < maxRetrycount; i++) { + regProcLogger.info(StatusUtil.INVALID_INPUT_PARAMETER.getMessage()+":"+StatusUtil.INVALID_INPUT_PARAMETER.getCode()+", Retrying "+(i+1)+" times"); idResponseDTO = sendIdRepoWithUin(registrationId, registrationStatusDto.getRegistrationType(), demographicIdentity, uinField, description); if (idResponseDTO.getErrors()==null || idResponseDTO.getErrors().get(0).getErrorCode()!=INVALID_INPUT_PARAMETER_ERROR_CODE)