[pbs-devel] [PATCH proxmox-backup v2 1/3] acme: plugin: fix error message
Stoiko Ivanov
s.ivanov at proxmox.com
Mon Jun 28 20:41:07 CEST 2021
extract_challenge is used by both dns-01 and http-01 challenges.
Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
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<T: AsyncRead + Unpin>(
--
2.20.1
More information about the pbs-devel
mailing list