Skip to content

Commit

Permalink
Warn instead of error for failing TLS handshakes
Browse files Browse the repository at this point in the history
  • Loading branch information
dominiklohmann committed Apr 8, 2024
1 parent 9ea0045 commit b895b3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libtenzir/builtins/operators/tcp-listen.cpp
Expand Up @@ -169,7 +169,7 @@ auto make_connection(caf::stateful_actor<connection_state>* self,
self->state.tls_socket->handshake(
boost::asio::ssl::stream<boost::asio::ip::tcp::socket>::server, ec);
if (ec) {
diagnostic::error("{}", ec.message())
diagnostic::warning("{}", ec.message())
.note("TLS handshake failed")
.emit(self->state.ctrl->diagnostics());
return {};
Expand Down

0 comments on commit b895b3c

Please sign in to comment.