diff --git a/VERSION b/VERSION index e46454b..489200c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.0.8 \ No newline at end of file +3.0.9 \ No newline at end of file diff --git a/core/cluster.py b/core/cluster.py index a1a42bb..ca88abf 100644 --- a/core/cluster.py +++ b/core/cluster.py @@ -472,7 +472,7 @@ async def report(self, file: File, error: Exception, resp: Optional[aiohttp.Clie responses.append(URLResponse(str(r.real_url), r.status)) responses.append(URLResponse(str(resp.real_url), resp.status)) host = resp.host - hash = msg[0] if len(msg) > 0 and type == "file" else None + hash = msg[0] if len(msg) > 0 and type == "hash" else None logger.terror(f"clusters.error.downloading", type=type, error=str(error), file_hash=file.hash, file_size=units.format_bytes(file.size), host=host, file_path=file.path, hash=hash, responses="\n".join(("", *(str(r) for r in responses)))) self.failed_hash_urls[file.hash].failed += 1 self.failed_hash_urls[file.hash].urls.add(tuple(responses))