fix issue if bad part name is given it shows the default head
Some checks failed
deploy / deploy (push) Failing after 35s
Some checks failed
deploy / deploy (push) Failing after 35s
This commit is contained in:
@ -0,0 +1,11 @@
|
||||
package cc.fascinated.model.response.impl;
|
||||
|
||||
import cc.fascinated.model.response.Response;
|
||||
import org.springframework.http.HttpStatus;
|
||||
|
||||
public class InvalidPartResponse extends Response {
|
||||
|
||||
public InvalidPartResponse() {
|
||||
super(HttpStatus.NOT_FOUND, "Invalid part name.");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user