Deprecate the --fail-on-upload-error flag and log a warning if the flag is used. From now on when an upload fails it will always fail unless the API server returns a 409 error where it will instead log a warning informing the end user that the duplicate file has been skipped.
I have also updated the formatting of some of the longer functions to fall inline with recent styling changes to make them easier to read.
Goal
Deprecate the
--fail-on-upload-error
flag and log a warning if the flag is used. From now on when an upload fails it will always fail unless the API server returns a409
error where it will instead log a warning informing the end user that the duplicate file has been skipped.I have also updated the formatting of some of the longer functions to fall inline with recent styling changes to make them easier to read.
Testing
Covered by CI