We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0ce33a2 + 7f42a69 commit d2131afCopy full SHA for d2131af
pkg/ws1/extractor.go
@@ -63,6 +63,8 @@ func doAuthRequest(user, pass, apiKey, url, method string, payload interface{})
63
}
64
65
if resp.StatusCode > 399 {
66
+ respB, _ := ioutil.ReadAll(resp.Body)
67
+ logrus.WithField("response", string(respB)).Warn("invalid response")
68
return nil, errors.New("invalid response code: " + strconv.Itoa(resp.StatusCode))
69
70
0 commit comments