Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: keep running the whole tipset task without cancel #1219

Merged
merged 3 commits into from
Jun 6, 2023

Conversation

Terryhung
Copy link
Collaborator

No description provided.

@@ -145,7 +145,6 @@ func (ti *TipSetIndexer) TipSet(ctx context.Context, ts *types.TipSet) (chan *Re
if res.Error != nil {
llt.Errorw("task returned with error", "error", res.Error.Error())
errCh <- res.Error
return
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we continue to execute, will ErrorsDetected be populated so the task report will show the reason?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it would be populated

@Terryhung Terryhung marked this pull request as ready for review June 6, 2023 06:14
@Terryhung Terryhung requested a review from birdychang June 6, 2023 08:09
@Terryhung Terryhung merged commit b86896a into master Jun 6, 2023
@Terryhung Terryhung deleted the terryhung/refine-tipset-error-handling branch June 6, 2023 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants