From b0a9b8276c7402560c785e64a7efd1ba3c54cc56 Mon Sep 17 00:00:00 2001 From: Daniel Morsing Date: Mon, 21 Jan 2019 11:49:46 +0000 Subject: [PATCH] surface self-check errors in challenge resource Signed-off-by: Daniel Morsing --- pkg/controller/acmechallenges/sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/acmechallenges/sync.go b/pkg/controller/acmechallenges/sync.go index b111d4450..4cf857842 100644 --- a/pkg/controller/acmechallenges/sync.go +++ b/pkg/controller/acmechallenges/sync.go @@ -149,7 +149,7 @@ func (c *Controller) Sync(ctx context.Context, ch *cmapi.Challenge) (err error) err = solver.Check(ctx, genericIssuer, ch) if err != nil { glog.Infof("propagation check failed: %v", err) - ch.Status.Reason = fmt.Sprintf("Waiting for %s challenge propagation", ch.Spec.Type) + ch.Status.Reason = fmt.Sprintf("Waiting for %s challenge propagation: %s", ch.Spec.Type, err) key, err := controllerpkg.KeyFunc(ch) // This is an unexpected edge case and should never occur