Skip to content

Commit

Permalink
Move PoisonedLock error to IOError
Browse files Browse the repository at this point in the history
  • Loading branch information
Tehforsch committed Dec 18, 2024
1 parent 6f1ae2d commit baf42f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/src/storage/redis/dberror.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ impl From<RedisError> 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
Expand Down

0 comments on commit baf42f2

Please sign in to comment.