From 1df6589533ecff0b38a56a8092f7e2ef541634c1 Mon Sep 17 00:00:00 2001 From: Lode Hoste Date: Thu, 21 May 2015 09:54:39 +0200 Subject: [PATCH] Add status code to SOAP response --- internal/upnp/upnp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/upnp/upnp.go b/internal/upnp/upnp.go index b8d9759f3..0d1cf1d9f 100644 --- a/internal/upnp/upnp.go +++ b/internal/upnp/upnp.go @@ -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()