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

Check for nil http response. #61

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cjyar
Copy link
Contributor

@cjyar cjyar commented May 15, 2023

The nil resp can happen, for example, if this program sends an invalid auth token to GitHub. If it happens, it results in a panic which is caught by the http library.


This change is Reviewable

@coveralls
Copy link

Pull Request Test Coverage Report for Build 187

  • 7 of 7 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 184: 0.0%
Covered Lines: 414
Relevant Lines: 414

💛 - Coveralls

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