summaryrefslogtreecommitdiff
path: root/ext/net
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2024-10-12 16:53:38 -0700
committerGitHub <noreply@github.com>2024-10-12 16:53:38 -0700
commit64c304a45265705832ebb4ab4e9ef19f899ac911 (patch)
treeb918bdd40b092dd26ed3a83a55369488af28121c /ext/net
parent2ac699fe6e5b69f656046c5a9657542dc1cf2e9d (diff)
refactor(ext/tls): use concrete error types (#26174)
Diffstat (limited to 'ext/net')
-rw-r--r--ext/net/ops_tls.rs2
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]