From bd2d97810185e7e78f4ac6dc64f0cf5455c21b27 Mon Sep 17 00:00:00 2001 From: Tobias Oetiker Date: Mon, 3 Aug 2020 08:47:41 +0200 Subject: [PATCH] better logging --- VERSION | 2 +- bin/acmefetch | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index f38fc53..0a1ffad 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.7.3 +0.7.4 diff --git a/bin/acmefetch b/bin/acmefetch index 5942310..0ac4b67 100755 --- a/bin/acmefetch +++ b/bin/acmefetch @@ -315,8 +315,8 @@ sub getCertificates { ]); my @authUrl = $order->authorizations; my @id = $order->identifiers; - bla 'info',"status ".$acme->poll_order($order); for my $i (0..$#authUrl){ + bla 'debug',"## authorizing $authUrl[$i] ##"; my $authz = $acme->get_authorization($authUrl[$i]); my @challenges = $authz->challenges(); my $ok; @@ -340,7 +340,7 @@ sub getCertificates { sleep 1; } if ($status eq 'invalid'){ - bla 'info',"Failed to authorise $id[$i]->{value}. Probably something wrong with the configuriatoion?"; + bla 'info',"Failed to authorise $id[$i]->{value}. Probably something wrong with the configuration?"; bla 'info', Dumper($authz); next SITE; }