fix(common): remove panic paths in runtime helpers (#2116)

Co-authored-by: houseme <housemecn@gmail.com>
Co-authored-by: heihutu <30542132+heihutu@users.noreply.github.com>
This commit is contained in:
安正超
2026-03-11 18:12:37 +08:00
committed by GitHub
parent e1f24f764d
commit 5625f04697
4 changed files with 101 additions and 48 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ pub async fn init_heal_manager(
.map_err(|_| Error::Config("Heal manager already initialized".to_string()))?;
// Initialize heal channel
let channel_receiver = rustfs_common::heal_channel::init_heal_channel();
let channel_receiver = rustfs_common::heal_channel::init_heal_channel().map_err(|err| Error::Config(err.to_string()))?;
// Create channel processor
let channel_processor = HealChannelProcessor::new(heal_manager.clone());