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