diff --git a/signup-service/src/main/java/io/mosip/signup/helper/AuditHelper.java b/signup-service/src/main/java/io/mosip/signup/helper/AuditHelper.java index dc03d0b0..0f896c93 100644 --- a/signup-service/src/main/java/io/mosip/signup/helper/AuditHelper.java +++ b/signup-service/src/main/java/io/mosip/signup/helper/AuditHelper.java @@ -48,6 +48,8 @@ public void sendAuditTransaction(AuditEvent auditEvent, AuditEventType eventType ExceptionUtils.getStackTrace(signUpException) : null; if (description != null && description.length() > auditDescriptionMaxLength) { description = description.substring(0, auditDescriptionMaxLength); + } else if (description == null) { + description = auditEvent.toString() + " " + eventType.toString(); } AuditRequest auditRequest = new AuditRequest(auditEvent, eventType, applicationName, "no-user", transactionId, "EsignetSignUpService", description);