diff --git a/bindings/python/src/error.rs b/bindings/python/src/error.rs index 8e91373..35c194c 100644 --- a/bindings/python/src/error.rs +++ b/bindings/python/src/error.rs @@ -51,6 +51,7 @@ impl From 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()), } } }