diff --git a/src/error.rs b/src/error.rs index c33ab42..391340d 100644 --- a/src/error.rs +++ b/src/error.rs @@ -31,7 +31,7 @@ pub enum Error { /// An internal TLS error. #[cfg(all(feature = "tls-native", not(feature = "tls-rust")))] - #[error("a TLS error occurred")] + #[error("a TLS error occurred: {0}")] Tls( #[source] #[from]