diff --git a/crates/trigger-http/src/lib.rs b/crates/trigger-http/src/lib.rs index ddabf57af..119a0ec65 100644 --- a/crates/trigger-http/src/lib.rs +++ b/crates/trigger-http/src/lib.rs @@ -344,8 +344,10 @@ impl HttpTrigger { loop { let (stream, addr) = listener.accept().await?; - let stream = acceptor.accept(stream).await?; - Self::serve_connection(self_.clone(), stream, addr); + match acceptor.accept(stream).await { + Ok(stream) => Self::serve_connection(self_.clone(), stream, addr), + Err(err) => tracing::error!(?err, "Failed to start TLS session"), + } } } }