From e71d3e2d7af9880b06639ec458dbc96c100a395d Mon Sep 17 00:00:00 2001 From: crwen <1543720935@qq.com> Date: Tue, 14 Jan 2025 18:32:59 +0800 Subject: [PATCH] fix: add missing pattern in python --- bindings/python/src/error.rs | 1 + 1 file changed, 1 insertion(+) 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()), } } }