summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network/tcp_socket_handler.cpp2
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 ;