mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-01-11 14:04:31 +01:00
Update dump/src/error.rs
Co-authored-by: Louis Dureuil <louis@meilisearch.com>
This commit is contained in:
parent
c637bfba37
commit
336ea57384
@ -21,7 +21,7 @@ impl ErrorCode for Error {
|
|||||||
match self {
|
match self {
|
||||||
Error::Io(e) => e.error_code(),
|
Error::Io(e) => e.error_code(),
|
||||||
|
|
||||||
// These errors either happens when creating a dump and don't need any error code.
|
// These errors either happen when creating a dump and don't need any error code,
|
||||||
// These error come from a internal bad deserialization.
|
// These error come from a internal bad deserialization.
|
||||||
Error::Serde(_) => Code::Internal,
|
Error::Serde(_) => Code::Internal,
|
||||||
Error::Uuid(_) => Code::Internal,
|
Error::Uuid(_) => Code::Internal,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user