Log site address with getfile error

This commit is contained in:
shortcutme 2019-12-31 12:46:01 +01:00
parent 71d32d7414
commit 32b0153d34
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -269,7 +269,7 @@ class FileRequest(object):
return {"bytes_sent": bytes_sent, "file_size": file_size, "location": params["location"]}
except RequestError as err:
self.log.debug("GetFile %s %s request error: %s" % (self.connection, params["inner_path"], Debug.formatException(err)))
self.log.debug("GetFile %s %s %s request error: %s" % (self.connection, params["site"], params["inner_path"], Debug.formatException(err)))
self.response({"error": "File read error: %s" % err})
except OSError as err:
if config.verbose: