diff --git a/rust/src/storage/redis/dberror.rs b/rust/src/storage/redis/dberror.rs index 5dd361b76..9a48002f6 100644 --- a/rust/src/storage/redis/dberror.rs +++ b/rust/src/storage/redis/dberror.rs @@ -47,7 +47,7 @@ impl From for DbError { | ErrorKind::InvalidClientConfig | ErrorKind::Moved | ErrorKind::Ask => DbError::ConfigurationError(err.to_string()), - ErrorKind::IoError => DbError::PoisonedLock(err.to_string()), + ErrorKind::IoError => DbError::IoError(err.to_string()), ErrorKind::TypeError | ErrorKind::ClientError | ErrorKind::CrossSlot