mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
Update error message and add tests for incomplete compressed document
This commit is contained in:
parent
2a38f5c757
commit
2608a596a0
2 changed files with 53 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue