From c16582ec411467c71c26c7ac1b940a125e4b1cc2 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Fri, 19 Oct 2018 12:21:25 -0400 Subject: [PATCH] debug logging --- aioupnp/gateway.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aioupnp/gateway.py b/aioupnp/gateway.py index c5f0cbc..72e412a 100644 --- a/aioupnp/gateway.py +++ b/aioupnp/gateway.py @@ -227,6 +227,8 @@ class Gateway: if get_err is not None: log.debug("failed to get descriptor for %s from %s", service.serviceType, service.SCPDURL) + if xml_bytes: + log.debug("response: %s", xml_bytes.decode()) return if not service_dict: return