From ed7981db4f29d92f5580a01714b8c9570440dcf9 Mon Sep 17 00:00:00 2001 From: Ian Howell Date: Mon, 26 Oct 2020 13:07:55 -0500 Subject: [PATCH] Improve error messages from Event Processor This rewords and reformats a confusing error message. Change-Id: I02575f8c843361a9ed10feb6d13219ffd310ed34 --- pkg/events/processor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/events/processor.go b/pkg/events/processor.go index 4f1056143..82fe6b1aa 100644 --- a/pkg/events/processor.go +++ b/pkg/events/processor.go @@ -72,7 +72,7 @@ func (p *DefaultProcessor) Process(ch <-chan Event) error { func (p *DefaultProcessor) processApplierEvent(e applyevent.Event) { if e.Type == applyevent.ErrorType { - log.Printf("Received error when applying errors to kubernetes %v", e.ErrorEvent.Err) + log.Printf("Received error when applying resources to kubernetes: %v", e.ErrorEvent.Err) p.errors = append(p.errors, e.ErrorEvent.Err) // Don't write errors events to applier channel, as it will use os.Exit to stop program execution return