SUPPORT-9287

This commit is contained in:
Eduard Tihomirov 2025-07-23 10:08:00 +03:00
parent a9d4ff0f83
commit 29d1fcc524

View file

@ -287,13 +287,13 @@ public class EsiaAuthService {
}
status = AuditConstants.SUCCESS_STATUS_TYPE;
}
catch (Exception e) {
status = AuditConstants.FAILURE_STATUS_TYPE;
if (e instanceof EsiaException || e instanceof JsonProcessingException) {
throw new EsiaException(e);
}
catch (JsonProcessingException e) {
throw new EsiaException(e);
}
finally {
if (status == null) {
status = AuditConstants.FAILURE_STATUS_TYPE;
}
if (orgInfo!= null){
auditService.processAuthEvent(request, orgInfo, prnOid, status,
AuditConstants.LOGIN_EVENT_TYPE);