diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2024-10-12 16:53:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-12 16:53:38 -0700 |
commit | 64c304a45265705832ebb4ab4e9ef19f899ac911 (patch) | |
tree | b918bdd40b092dd26ed3a83a55369488af28121c /ext/net | |
parent | 2ac699fe6e5b69f656046c5a9657542dc1cf2e9d (diff) |
refactor(ext/tls): use concrete error types (#26174)
Diffstat (limited to 'ext/net')
-rw-r--r-- | ext/net/ops_tls.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/net/ops_tls.rs b/ext/net/ops_tls.rs index 5bc04ceb5..a68d144b5 100644 --- a/ext/net/ops_tls.rs +++ b/ext/net/ops_tls.rs @@ -250,7 +250,7 @@ pub fn op_tls_cert_resolver_resolve_error( #[string] sni: String, #[string] error: String, ) { - lookup.resolve(sni, Err(anyhow!(error))) + lookup.resolve(sni, Err(error)) } #[op2] |