From a6cfb04453c4d0360f73b91f71d03b0c6fe1eb51 Mon Sep 17 00:00:00 2001 From: weisd Date: Tue, 24 Jun 2025 23:16:34 +0800 Subject: [PATCH] test: tls error --- rustfs/src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rustfs/src/main.rs b/rustfs/src/main.rs index 0ab0ebb3..512ce37a 100644 --- a/rustfs/src/main.rs +++ b/rustfs/src/main.rs @@ -428,6 +428,10 @@ async fn run(opt: config::Opt) -> Result<()> { let tls_socket = match tls_acceptor .as_ref() .ok_or_else(|| rustfs_utils::certs_error("TLS not configured".to_string())) + .map_err(|e| { + error!("TLS panic error: {}", e); + e + }) .unwrap() .accept(socket) .await