From 2abee30fddb1efd0b52aeaa4574e2ee92433ba0e Mon Sep 17 00:00:00 2001 From: Stoiko Ivanov Date: Mon, 28 Jun 2021 18:41:07 +0000 Subject: [PATCH] acme: plugin: fix error message extract_challenge is used by both dns-01 and http-01 challenges. Signed-off-by: Stoiko Ivanov (cherry picked from commit f9bd5e1691821da32919a97ce211b972fe623726) Signed-off-by: Thomas Lamprecht --- src/acme/plugin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/acme/plugin.rs b/src/acme/plugin.rs index 5e0e547a..0269b9ad 100644 --- a/src/acme/plugin.rs +++ b/src/acme/plugin.rs @@ -68,7 +68,7 @@ fn extract_challenge<'a>( .challenges .iter() .find(|ch| ch.ty == ty) - .ok_or_else(|| format_err!("no supported challenge type (dns-01) found")) + .ok_or_else(|| format_err!("no supported challenge type ({}) found", ty)) } async fn pipe_to_tasklog(