mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 11:18:03 +00:00
LFRequest.py: json_post debug message more readable
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
This commit is contained in:
@@ -176,7 +176,7 @@ class LFRequest:
|
|||||||
resp_data = resp.read().decode('utf-8')
|
resp_data = resp.read().decode('utf-8')
|
||||||
if (debug and die_on_error_):
|
if (debug and die_on_error_):
|
||||||
self.logger.debug("----- LFRequest::json_post:128 debug: --------------------------------------------")
|
self.logger.debug("----- LFRequest::json_post:128 debug: --------------------------------------------")
|
||||||
self.logger.debug("URL: %s :%d "% (self.requested_url, resp.status))
|
self.logger.debug("URL: <%s> status: %d "% (self.requested_url, resp.status))
|
||||||
if resp.status != 200:
|
if resp.status != 200:
|
||||||
self.logger.debug(pformat(resp.getheaders()))
|
self.logger.debug(pformat(resp.getheaders()))
|
||||||
self.logger.debug("----- resp_data:128 -------------------------------------------------")
|
self.logger.debug("----- resp_data:128 -------------------------------------------------")
|
||||||
|
|||||||
Reference in New Issue
Block a user