Skip to content

ensure that errors are handled#251

Merged
jcscottiii merged 5 commits intomasterfrom
errcheck
Apr 3, 2017
Merged

ensure that errors are handled#251
jcscottiii merged 5 commits intomasterfrom
errcheck

Conversation

@afeld
Copy link
Member

@afeld afeld commented Mar 31, 2017

  • Run errcheck through Circle CI
  • Ensure that errors are handled in code, or at least explicitly ignore them (in tests)

lib/workspace.go Outdated
wg.Wait()
var errs []error
// errs = append(errs, certificationErr)
errs = append(errs, certificationErr)
Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm, this seems to be causing the build failure... @jcscottiii Happen to remember why it was commented out?

Copy link
Member

Choose a reason for hiding this comment

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

ahh we need to do a check if certificationErr is not nil. if so, append it.

@jcscottiii jcscottiii merged commit 84402b6 into master Apr 3, 2017
@jcscottiii jcscottiii deleted the errcheck branch April 3, 2017 15:52
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