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

SF merge: don't return gCtx.Err, defer to g.Wait #1464

Merged
merged 4 commits into from
Mar 11, 2024
Merged

Conversation

serprex
Copy link
Contributor

@serprex serprex commented Mar 11, 2024

Returning gCtx.Err() caused errors to be logged only as "context canceled"

Still need to check ctx.Err() to avoid returning nil with partial merge

@serprex serprex enabled auto-merge (squash) March 11, 2024 11:53
@serprex serprex disabled auto-merge March 11, 2024 11:55
@serprex serprex force-pushed the better-sf-wg-error branch from 3a34500 to 9bae068 Compare March 11, 2024 11:57
@iskakaushik
Copy link
Contributor

can we log all these various errors as well @serprex ?

@serprex
Copy link
Contributor Author

serprex commented Mar 11, 2024

Caller logs them

Looks like flowable.go is passing to Alerter.LogFlowError which sends telemetry & pushes to db, but doesn't actually log. That can be changed in another PR

@serprex serprex merged commit a233c63 into main Mar 11, 2024
7 checks passed
@serprex serprex deleted the better-sf-wg-error branch March 11, 2024 16:50
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