alertmanager-github-receiver
alertmanager-github-receiver copied to clipboard
Check for nil http response.
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.