Skip to content

Commit 2831c60

Browse files
postmebackirevoire
andauthored
Review Comments Included
Co-authored-by: Tamo <irevoire@protonmail.ch>
1 parent 8182012 commit 2831c60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/errors.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ pub enum Error {
1515
#[error(transparent)]
1616
MeilisearchCommunication(#[from] MeilisearchCommunicationError),
1717
/// The Meilisearch server returned an invalid JSON for a request.
18-
#[error(transparent)]
19-
SerdeParseError(#[from] serde_json::Error),
18+
#[error("Error parsing response JSON: {}", .0)]
19+
ParseError(#[from] serde_json::Error),
2020

2121
/// A timeout happened while waiting for an update to complete.
2222
#[error("A task did not succeed in time.")]

0 commit comments

Comments
 (0)