This commit is contained in:
Brad Rydzewski 2019-09-15 22:38:37 -07:00
parent de8f7e41d7
commit 807738d597
2 changed files with 2 additions and 2 deletions

View file

@ -465,7 +465,7 @@ func (m *Manager) Watch(ctx context.Context, id int64) (bool, error) {
// the database to see if the stage is complete. If
// complete, return true.
stage, err := m.Stages.Find(ctx, id)
if err == nil {
if err != nil {
logger := logrus.WithError(err)
logger = logger.WithField("step-id", id)
logger.Warnln("manager: cannot find stage")

View file

@ -14,7 +14,7 @@
// +build oss
package converter
package validator
import (
"context"