mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-10-27 22:16:29 +00:00
Update error message and add tests for incomplete compressed document
This commit is contained in:
@@ -111,7 +111,7 @@ impl From<aweb::error::PayloadError> for MeilisearchHttpError {
|
||||
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
pub enum ActixPayloadError {
|
||||
#[error("The provided payload is incomplete and cannot be decompressed")]
|
||||
#[error("The provided payload is incomplete and cannot be parsed")]
|
||||
IncompleteError,
|
||||
#[error(transparent)]
|
||||
OtherError(aweb::error::PayloadError),
|
||||
|
||||
Reference in New Issue
Block a user