diff --git a/src/PIL/PngImagePlugin.py b/src/PIL/PngImagePlugin.py index f51773a348e..1248fb78529 100644 --- a/src/PIL/PngImagePlugin.py +++ b/src/PIL/PngImagePlugin.py @@ -985,7 +985,6 @@ def load_end(self): ImageFile._safe_read(self.fp, length) except OSError as e: if ImageFile.LOAD_TRUNCATED_IMAGES: - logger.debug("%r %s %s (Truncated File Read)", cid, pos, length) break else: raise e