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

feat: Error check on io.WriteString #2756

Conversation

AlaricWhitney
Copy link
Collaborator

  • Identified the issue which this PR solves.
  • Read the CONTRIBUTING document.
  • Code builds clean without any errors or warnings.
  • Added appropriate tests for any new functionality.
  • All new and existing tests passed.
  • Added comments in the code, where necessary.
  • Ran make check to catch common errors. Fixed any that came up.

Description:
In preparation for golangci-lint checks, this PR adds error checks to all io.WriteString() commands, using the logging patterns of each function

Which issue(s) this PR fixes:
Part of #2579

Out of Scope:
Not making any functional changes to the app. Logging only!

app/healthcheck.go Outdated Show resolved Hide resolved
auth/handler.go Outdated Show resolved Hide resolved
auth/handler.go Outdated Show resolved Hide resolved
devtools/runproc/process.go Outdated Show resolved Hide resolved
graphql2/cmtype.go Outdated Show resolved Hide resolved
notification/twilio/twiml.go Outdated Show resolved Hide resolved
remotemonitor/monitor.go Outdated Show resolved Hide resolved
test/smoke/mailgunalerts_test.go Outdated Show resolved Hide resolved
util/timeutil/isoduration.go Outdated Show resolved Hide resolved
util/timeutil/isorinterval.go Outdated Show resolved Hide resolved
devtools/pgdump-lite/dumpdata.go Outdated Show resolved Hide resolved
@mastercactapus mastercactapus merged commit b814641 into target:master Jan 4, 2023
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