Merge pull request #2834 from alrs/fix-dropped-errors
Fix Dropped operator Errors
This commit is contained in:
commit
20d66be182
2 changed files with 8 additions and 0 deletions
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue