Skip to content

Commit

Permalink
Only log get_ftp_size errors at info
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair committed Apr 4, 2024
1 parent be079ca commit d3745fd
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 @@ -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
Expand Down

0 comments on commit d3745fd

Please sign in to comment.