acme: plugin: fix error message

extract_challenge is used by both dns-01 and http-01 challenges.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This commit is contained in:
Stoiko Ivanov 2021-06-28 18:41:07 +00:00 committed by Thomas Lamprecht
parent ecd66ecaf6
commit f9bd5e1691
1 changed files with 1 additions and 1 deletions

View File

@ -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<T: AsyncRead + Unpin>(