Merge pull request #2834 from alrs/fix-dropped-errors

Fix Dropped operator Errors
This commit is contained in:
Brad Rydzewski 2019-09-16 12:52:52 -07:00 committed by GitHub
commit 20d66be182
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -294,6 +294,11 @@ func (m *Manager) Details(ctx context.Context, id int64) (*Context, error) {
Repo: repo,
User: user,
})
if err != nil {
logger = logger.WithError(err)
logger.Warnln("manager: cannot convert configuration")
return nil, err
}
var secrets []*core.Secret
tmpSecrets, err := m.Secrets.List(noContext, repo.ID)
if err != nil {

View file

@ -203,6 +203,9 @@ func (r *Runner) Run(ctx context.Context, id int64) error {
}
return env
})
if err != nil {
return r.handleError(ctx, m.Stage, err)
}
manifest, err := yaml.ParseString(y)
if err != nil {