bugsnag / bugsnag-cli

CLI for uploading symbol files and creating releases on your BugSnag dashboard
https://docs.bugsnag.com/build-integrations/bugsnag-cli/
MIT License
3 stars 1 forks source link

[PLAT-11746] Deprecate `--fail-on-upload-error` and handling for duplicate file response #90

Closed joshedney closed 6 months ago

joshedney commented 6 months ago

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 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.

Testing

Covered by CI