We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f73d69d + 724809a commit d8385afCopy full SHA for d8385af
mullvad-encrypted-dns-proxy/src/config_resolver.rs
@@ -34,8 +34,8 @@ impl fmt::Display for Error {
34
impl std::error::Error for Error {
35
fn source(&self) -> Option<&(dyn std::error::Error + 'static)> {
36
match self {
37
- Self::ResolutionError(ref err) => Some(err),
38
- Self::Timeout(ref err) => Some(err),
+ Self::ResolutionError(ref err) => err.source(),
+ Self::Timeout(ref err) => err.source(),
39
}
40
41
0 commit comments