Merge pull request #253 from ljrk0/verbose_tls_error

Provide encapsulated Tls error information
This commit is contained in:
aaron 2024-03-18 15:57:51 -07:00 committed by GitHub
commit b5a017a58b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,7 +31,7 @@ pub enum Error {
/// An internal TLS error. /// An internal TLS error.
#[cfg(all(feature = "tls-native", not(feature = "tls-rust")))] #[cfg(all(feature = "tls-native", not(feature = "tls-rust")))]
#[error("a TLS error occurred")] #[error("a TLS error occurred: {0}")]
Tls( Tls(
#[source] #[source]
#[from] #[from]