Skip to content

Commit

Permalink
fix: add missing pattern in python
Browse files Browse the repository at this point in the history
  • Loading branch information
crwen committed Jan 14, 2025
1 parent 67ced7d commit e71d3e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bindings/python/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ impl From<DbError> for PyErr {
tonbo::DbError::Recover(err) => RecoverError::new_err(err.to_string()),
tonbo::DbError::WalWrite(err) => PyIOError::new_err(err.to_string()),
tonbo::DbError::ExceedsMaxLevel => ExceedsMaxLevelError::new_err("Exceeds max level"),
tonbo::DbError::Logger(err) => PyIOError::new_err(err.to_string()),
}
}
}
Expand Down

0 comments on commit e71d3e2

Please sign in to comment.