mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-30 18:27:53 +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')
|
||||
if (debug and die_on_error_):
|
||||
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:
|
||||
self.logger.debug(pformat(resp.getheaders()))
|
||||
self.logger.debug("----- resp_data:128 -------------------------------------------------")
|
||||
|
||||
Reference in New Issue
Block a user