diff --git a/engine/src/main/java/io/seldon/engine/exception/APIException.java b/engine/src/main/java/io/seldon/engine/exception/APIException.java index 53edc9645b..894ade86c1 100644 --- a/engine/src/main/java/io/seldon/engine/exception/APIException.java +++ b/engine/src/main/java/io/seldon/engine/exception/APIException.java @@ -69,9 +69,8 @@ public APIException(ApiExceptionType apiExceptionType, String info) { this.info = info; } - public APIException(String info) { - super(); - this.info = info; + public APIException(String payload) { + super(payload); } public ApiExceptionType getApiExceptionType() {