Skip to content

Commit

Permalink
- improve exception msg
Browse files Browse the repository at this point in the history
  • Loading branch information
jandusil committed May 6, 2024
1 parent 074ebad commit d8c1cbd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ public CombinedAuthenticationResponse authenticateCombined(CombinedAuthenticatio

final OtpEntity otp = otpService.findOtp(request.getOtpId(), request.getOperationId());
if (otp.getCredentialDefinition() == null || otp.getCredentialDefinition().getName() == null) {
throw new InvalidRequestException("Credential definition is not defined for operation with OTP Id and Operation Id:" + request.getOtpId() + ", " + request.getOperationId());
throw new InvalidRequestException("Credential definition is not set for operation with OTP Id and Operation Id: " + request.getOtpId() + ", " + request.getOperationId());
}
if (otp.getOtpDefinition().isDataAdapterProxyEnabled()) {
logger.info("Combined authentication proxied through Data Adapter, OTP ID: {}", request.getOtpId());
Expand Down

0 comments on commit d8c1cbd

Please sign in to comment.