diff --git a/src/error.rs b/src/error.rs index ece3c06..dde9ba3 100644 --- a/src/error.rs +++ b/src/error.rs @@ -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, } }