alertmanager-github-receiver icon indicating copy to clipboard operation
alertmanager-github-receiver copied to clipboard

Check for nil http response.

Open cjyar opened this issue 2 years ago • 1 comments

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

cjyar avatar May 15 '23 19:05 cjyar

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

coveralls avatar May 15 '23 19:05 coveralls