diff --git a/backend/copr_backend/background_worker_build.py b/backend/copr_backend/background_worker_build.py index d1f9a37d6..994c1430f 100644 --- a/backend/copr_backend/background_worker_build.py +++ b/backend/copr_backend/background_worker_build.py @@ -561,7 +561,7 @@ def _compress_logs(self): self.log.error("Compressed log %s exists", dest) continue - if not os.path.exists(src): + if not os.path.exists(src) and src == self.job.review_log: # fedora-review.log has a good chance of not existing # We should be ready for other similar files self.log.warning("Not trying to compress %s as it does not exist", src)