FileRequest -> Fix error wording

This commit is contained in:
canewsin 2023-03-24 02:24:14 +05:30
parent d8e52eaabd
commit a429349cd4
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ class FileRequest(object):
body = peer.getFile(site.address, inner_path).read()
except Exception as err:
site.log.debug("Can't download updated file %s: %s" % (inner_path, err))
self.response({"error": "File invalid update: Can't download updaed file"})
self.response({"error": "Invalid File update: Failed to download updated file content"})
self.connection.badAction(5)
return