debug logging

This commit is contained in:
Jack Robison 2018-10-19 12:21:25 -04:00
parent 7d11830751
commit c16582ec41
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -227,6 +227,8 @@ class Gateway:
if get_err is not None: if get_err is not None:
log.debug("failed to get descriptor for %s from %s", service.serviceType, service.SCPDURL) 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 return
if not service_dict: if not service_dict:
return return