-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
disabled some sources of noise on stderr.
output on stderr when the script exits with a failure is now sent as an alert.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,7 +101,7 @@ func slurp_url(url string, token string) string { | |
} | ||
defer resp.Body.Close() | ||
|
||
if resp.StatusCode != 200 { | ||
if resp.StatusCode != 200 && resp.StatusCode != 404 { | ||
stderr("non-200 response from URL: %s (%d)", url, resp.StatusCode) | ||
return "" | ||
} | ||
|
@@ -150,7 +150,7 @@ func parse_maintainers_txt_file(contents string, maintainer_alias_map map[Mainta | |
} | ||
for _, maintainer := range strings.Split(contents, "\n") { | ||
if slack_channel(maintainer) { | ||
stderr("skipping slack channel: %s", maintainer) | ||
// stderr("skipping slack channel: %s", maintainer) | ||
continue | ||
} | ||
alias, present := maintainer_alias_map[maintainer] // jdoe => [email protected] | ||
|