Skip to content

Commit

Permalink
check all targets if there is error
Browse files Browse the repository at this point in the history
  • Loading branch information
whywaita committed Jun 3, 2021
1 parent c3d052f commit d1ce17c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (m *Manager) do(ctx context.Context) error {
logger.Logf(true, "found %d targets in datastore", len(targets))
for _, target := range targets {
if err := m.removeRunner(ctx, &target); err != nil {
return fmt.Errorf("failed to delete runners: %w", err)
logger.Logf(true, "failed to delete runners (target: %s): %+v", target.RepoURL(), err)
}
}

Expand Down

0 comments on commit d1ce17c

Please sign in to comment.