Merge "Improve error messages from Event Processor"

This commit is contained in:
Zuul 2021-03-19 19:19:40 +00:00 committed by Gerrit Code Review
commit bfe23f4755
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ func (p *DefaultProcessor) Close() {
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