The error from a #golang http request includes the full URL, including parameters. Exposing the error to users may leak API keys.Source: Twitter.
Solution
I should parse the URL and cut off the parameters. To change this behavior, I should add a configuration parameter: If a developer would like to see the full parameters, he is able to enable this.
# Logging HTTP Errors
## Hint from Gustavo Niemeyer:
_The error from a #golang http request includes the full URL, including parameters. Exposing the error to users may leak API keys._ **Source: Twitter.**
## Solution
I should parse the URL and cut off the parameters. To change this behavior, I should add a configuration parameter: If a developer would like to see the full parameters, he is able to enable this.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Logging HTTP Errors
Hint from Gustavo Niemeyer:
The error from a #golang http request includes the full URL, including parameters. Exposing the error to users may leak API keys. Source: Twitter.
Solution
I should parse the URL and cut off the parameters. To change this behavior, I should add a configuration parameter: If a developer would like to see the full parameters, he is able to enable this.