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

Adds error checking for an err variable that was left unchecked #810

Merged
merged 1 commit into from
Aug 14, 2020
Merged

Adds error checking for an err variable that was left unchecked #810

merged 1 commit into from
Aug 14, 2020

Conversation

yaserazfar
Copy link
Contributor

@yaserazfar yaserazfar commented Dec 27, 2019

This PR is not related to an issue, but is adding an error check where an err variable was set but not checked. This could potentially help find errors when developing in the future.

Description

This PR adds an error checks for an err variable which was assigned but never checked.

In case this PR introduced Go code changes:

  • contributed code is using same conventions as original code
  • script/cibuild returns with no formatting errors, build errors or unit test errors.

This issues was found using CodeLingo - codelingo.io

Copy link
Contributor

@shlomi-noach shlomi-noach left a comment

Choose a reason for hiding this comment

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

Thank you!

@timvaillancourt timvaillancourt merged commit f334dbd into github:master Aug 14, 2020
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.

3 participants