diff --git a/codecov_cli/services/upload/upload_collector.py b/codecov_cli/services/upload/upload_collector.py index 22310e2f..25220625 100644 --- a/codecov_cli/services/upload/upload_collector.py +++ b/codecov_cli/services/upload/upload_collector.py @@ -145,6 +145,13 @@ def _get_file_fixes( ) except IsADirectoryError: logger.info(f"Skipping {filename}, found a directory not a file") + except TypeError as err: + logger.warning( + f"There was an issue applying file fixes to: {filename}, file fixes were not applied to this file.", + extra=dict( + reason=str(err), + ), + ) return UploadCollectionResultFileFixer( path, fixed_lines_without_reason, fixed_lines_with_reason, eof