Merge pull request #1166 from treed/master

De-obfuscate error message
This commit is contained in:
Stephen Day 2015-11-11 17:18:25 -08:00
commit 0a3acb2625
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ func (ch challenge) SetHeaders(w http.ResponseWriter) {
}
func (ch challenge) Error() string {
return fmt.Sprintf("basic authentication challenge: %#v", ch)
return fmt.Sprintf("basic authentication challenge for realm %q: %s", ch.realm, ch.err)
}
func init() {