aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_channel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tls/tls_channel.cpp')
-rw-r--r--src/tls/tls_channel.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tls/tls_channel.cpp b/src/tls/tls_channel.cpp
index 76a5424ad..801dfdfe3 100644
--- a/src/tls/tls_channel.cpp
+++ b/src/tls/tls_channel.cpp
@@ -122,6 +122,11 @@ size_t Channel::received_data(const byte buf[], size_t buf_size)
alert(FATAL, DECODE_ERROR);
throw;
}
+ catch(Internal_Error& e)
+ {
+ alert(FATAL, INTERNAL_ERROR);
+ throw;
+ }
catch(std::exception& e)
{
alert(FATAL, INTERNAL_ERROR);