diff --git a/notification-core/src/main/java/org/opengroup/osdu/notification/errors/SpringExceptionMapper.java b/notification-core/src/main/java/org/opengroup/osdu/notification/errors/SpringExceptionMapper.java
index 6a7cd78aa79fddcb7c3f64edc65d1d5f317b0346..a22bc99585a4d8026bd99669f3f18024accc9553 100644
--- a/notification-core/src/main/java/org/opengroup/osdu/notification/errors/SpringExceptionMapper.java
+++ b/notification-core/src/main/java/org/opengroup/osdu/notification/errors/SpringExceptionMapper.java
@@ -79,9 +79,8 @@ public class SpringExceptionMapper extends ResponseEntityExceptionHandler {
 	}
 
 	private ResponseEntity<Object> getErrorResponse(AppException e) {
-		if( e.getCause() instanceof Exception) {
-			Exception original = (Exception) e.getCause();
-			this.log.error(original.getMessage(), original);
+		if(e.getOriginalException()!= null) {
+			this.log.error(e.getOriginalException().getMessage(), e.getOriginalException());
 		}
 
 		if (e.getError().getCode() > 499) {