diff --git a/parfive/utils.py b/parfive/utils.py index 00bfc3f..ea36ff6 100644 --- a/parfive/utils.py +++ b/parfive/utils.py @@ -93,7 +93,7 @@ async def get_ftp_size(client, filepath): size = await client.stat(filepath) size = size.get("size", None) except Exception: - parfive.log.exception("Failed to get size of FTP file") + parfive.log.info("Failed to get size of FTP file", exc_info=True) size = None return int(size) if size else size