From 8de910f03cf942fa8eeccaaee087ce3da71263c1 Mon Sep 17 00:00:00 2001 From: Tomas Nozicka Date: Fri, 16 Jun 2017 16:21:15 +0200 Subject: [PATCH] Log reason when creating route fails --- pkg/openshift/challengeexposers/route.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/openshift/challengeexposers/route.go b/pkg/openshift/challengeexposers/route.go index ec6711df8..ab9e41ac0 100644 --- a/pkg/openshift/challengeexposers/route.go +++ b/pkg/openshift/challengeexposers/route.go @@ -222,7 +222,7 @@ func (r *Route) Expose(a *acmelib.Client, domain string, token string) error { log.Warnf("route challenge exposer: creating route %s/%s failed because of collision: %s", tmpName, namespace, err) continue } else { - log.Errorf("route challenge exposer: creating route %s/%s failed: %s", tmpName, namespace, err) + log.Errorf("route challenge exposer: creating route %s/%s failed: %s; raw: %s", tmpName, namespace, err, rawRoute) return } }