Change 599 to 500 for TLS errors

This commit is contained in:
k3d3
2020-06-14 23:26:42 -04:00
committed by Martin Algesten
parent de3416e260
commit efd60e95e9

View File

@@ -63,7 +63,7 @@ impl Error {
Error::ProxyConnect => 500, Error::ProxyConnect => 500,
Error::InvalidProxyCreds => 500, Error::InvalidProxyCreds => 500,
#[cfg(feature = "native-tls")] #[cfg(feature = "native-tls")]
Error::TlsError(_) => 599, Error::TlsError(_) => 500,
} }
} }