Skip to content

Commit

Permalink
Merge branch 'main' into type-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair authored Apr 4, 2024
2 parents a14cab1 + d1f346b commit e8e09f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parfive/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ async def get_ftp_size(client: "aioftp.Client", filepath: os.PathLike) -> int:
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
Expand Down

0 comments on commit e8e09f8

Please sign in to comment.