Pull request #515: RED-4789 - Uploading an invalid digital signature certificate returns error code 500
Merge in RED/persistence-service from bugfix/RED-4789 to master * commit 'f541ac2ab809dda6b41793417b329ff91982c0c3': RED-4789 - Uploading an invalid digital signature certificate returns error code 500
This commit is contained in:
commit
0a573431ca
@ -40,7 +40,7 @@ public class DigitalSignatureKmsService {
|
||||
if (e.status() == HttpStatus.BAD_REQUEST.value()) {
|
||||
throw new BadRequestException(e.getMessage(), e);
|
||||
}
|
||||
throw new InternalServerErrorException("Could not validate digital KMS signature", e);
|
||||
throw new BadRequestException("Could not validate digital KMS signature", e);
|
||||
}
|
||||
log.info("Digital KMS signature is valid");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user