-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some of the logging information in snare tells the user they've misconfigured snare or GitHub, but some logging information is really meant to help someone debug a change in GitHub requests. This commit teases those two out. By making HTTP request functions take `TcpStream` (i.e. moving it) the terminal part of this function is now a little harder to misuse, and also allows us to restore more informative HTTP return codes (e.g. "unauthorised").
- Loading branch information
Showing
2 changed files
with
98 additions
and
40 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
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