forked from mirrors/relay
Consider NoSignature a BadRequest
This commit is contained in:
parent
b56bddccb4
commit
cf7a25f935
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ impl ResponseError for Error {
|
|||
ErrorKind::Kind(_)
|
||||
| ErrorKind::MissingKind
|
||||
| ErrorKind::MissingId
|
||||
| ErrorKind::ObjectCount => StatusCode::BAD_REQUEST,
|
||||
| ErrorKind::ObjectCount | ErrorKind::NoSignature(_) => StatusCode::BAD_REQUEST,
|
||||
_ => StatusCode::INTERNAL_SERVER_ERROR,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue