mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-23 15:18:24 +00:00
Add status code to SOAP response
This commit is contained in:
parent
12f76b448c
commit
1df6589533
@ -471,7 +471,7 @@ func soapRequest(url, service, function, message string) ([]byte, error) {
|
||||
|
||||
resp, _ = ioutil.ReadAll(r.Body)
|
||||
if debug {
|
||||
l.Debugln("SOAP Response:\n\n" + string(resp) + "\n")
|
||||
l.Debugf("SOAP Response: %v\n\n%v\n\n", r.StatusCode, string(resp))
|
||||
}
|
||||
|
||||
r.Body.Close()
|
||||
|
Loading…
x
Reference in New Issue
Block a user