mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-27 15:37:02 +00:00
test: tls error
This commit is contained in:
@@ -428,6 +428,10 @@ async fn run(opt: config::Opt) -> Result<()> {
|
|||||||
let tls_socket = match tls_acceptor
|
let tls_socket = match tls_acceptor
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.ok_or_else(|| rustfs_utils::certs_error("TLS not configured".to_string()))
|
.ok_or_else(|| rustfs_utils::certs_error("TLS not configured".to_string()))
|
||||||
|
.map_err(|e| {
|
||||||
|
error!("TLS panic error: {}", e);
|
||||||
|
e
|
||||||
|
})
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.accept(socket)
|
.accept(socket)
|
||||||
.await
|
.await
|
||||||
|
|||||||
Reference in New Issue
Block a user