Improve error messages from Event Processor
This rewords and reformats a confusing error message. Change-Id: I02575f8c843361a9ed10feb6d13219ffd310ed34
This commit is contained in:
parent
cd1ca0b787
commit
ed7981db4f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user