Log warn (not error) when wf step execution fails

This commit is contained in:
Denis Arh
2021-03-14 16:00:22 +01:00
parent 0cb01f9570
commit 0910317632
+1 -1
View File
@@ -535,7 +535,7 @@ func (s *Session) exec(ctx context.Context, st *State) {
if errors.IsAutomation(st.err) {
s.qErr <- st.err
} else {
log.Error("step execution failed", zap.Error(st.err))
log.Warn("step execution failed", zap.Error(st.err))
s.qErr <- fmt.Errorf("session %d step %d execution failed: %w", s.id, st.step.ID(), st.err)
}