Skip to content

Commit

Permalink
MOSIP-26582 stackTrace Error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikhil1Reddy committed Jul 3, 2023
1 parent 362dbae commit 0c416e8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ public ValidationResultDto validateResponse(ValidationInputDto responseDto) {
} catch (Exception ex) {
validationResultDto.setStatus(AppConstants.FAILURE);
validationResultDto.setDescriptionKey("HASH_VALIDATOR_003" + AppConstants.ARGUMENTS_DELIMITER + ex);
validationResultDto.setDescription("Hash validation failure due to: " + ex);
ex.printStackTrace();
validationResultDto.setDescription("Hash validation failure due to: " + ex.getLocalizedMessage());
}
return validationResultDto;
}
Expand Down

0 comments on commit 0c416e8

Please sign in to comment.