Log inner_path and location for peer request in verbose mode

This commit is contained in:
shortcutme 2017-10-03 15:23:03 +02:00
parent 8d26a572dd
commit f9e64bc874
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -125,7 +125,7 @@ class Peer(object):
self.onConnectionError("Reconnect error") self.onConnectionError("Reconnect error")
return None # Connection failed return None # Connection failed
self.log("Send request: %s %s" % (params.get("site", ""), cmd)) self.log("Send request: %s %s %s %s" % (params.get("site", ""), cmd, params.get("inner_path", ""), params.get("location", "")))
for retry in range(1, 4): # Retry 3 times for retry in range(1, 4): # Retry 3 times
try: try: