[FEAT] fix 400 error in input error
This commit is contained in:
parent
3e7a1a5473
commit
d53a0719b5
@ -16,6 +16,6 @@ public class InputException extends Exception {
|
|||||||
public InputException(final String variable, final String message) {
|
public InputException(final String variable, final String message) {
|
||||||
super(message);
|
super(message);
|
||||||
this.missingVariable = variable;
|
this.missingVariable = variable;
|
||||||
this.status = Response.Status.NOT_ACCEPTABLE;
|
this.status = Response.Status.BAD_REQUEST;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user