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 error logging for history client #2472

Merged
merged 1 commit into from
Feb 6, 2022

Conversation

yiminc
Copy link
Member

@yiminc yiminc commented Feb 6, 2022

What changed?
Fix bug in history client error logging. (Should have been fixed in last PR as well.)

Why?
The arguments of defer function are evaluated immediately so the retErr always is nil.

How did you test it?
go playground: https://go.dev/play/p/xk9zWXGgmBZ

Potential risks
No

Is hotfix candidate?
No

@yiminc yiminc requested a review from a team as a code owner February 6, 2022 00:21
@yiminc yiminc enabled auto-merge (squash) February 6, 2022 00:38
@yiminc yiminc merged commit 16871d7 into temporalio:master Feb 6, 2022
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