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: context errors not captured #286

Merged
merged 1 commit into from
Feb 25, 2021
Merged

Conversation

Kav91
Copy link
Member

@Kav91 Kav91 commented Feb 25, 2021

When an error occurs during command execution, the code returns early and does not capture the context error.
Things like command timeouts - context deadline exceeded are not captured.

cc/ @haihongren

Copy link
Contributor

@carlosroman carlosroman left a comment

Choose a reason for hiding this comment

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

LGTM 👍🏼

@carlosroman carlosroman merged commit 2e9dae5 into master Feb 25, 2021
@carlosroman carlosroman deleted the kav/fixCommandLogging branch February 25, 2021 10:21
Copy link
Contributor

@noly noly left a comment

Choose a reason for hiding this comment

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

Thanks @Kav91 for taking care of this issue.
Could it be possible to cover it with unit-test?

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.

None yet

3 participants