diff options
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/tcp_socket_handler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/tcp_socket_handler.cpp b/src/network/tcp_socket_handler.cpp index ae23b3c..f5e0d68 100644 --- a/src/network/tcp_socket_handler.cpp +++ b/src/network/tcp_socket_handler.cpp @@ -194,7 +194,7 @@ void TCPSocketHandler::send_data(std::string&& data) if (this->use_tls) try { this->tls_send(std::move(data)); - } catch (const Botan::TLS::TLS_Exception& e) { + } catch (const Botan::Exception& e) { this->on_connection_close("TLS error: "s + e.what()); this->close(); return ; |