Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error messages (duplicate artifacts; too many artifacts) #1600

Merged
merged 10 commits into from
Dec 11, 2023

Conversation

vmjoseph
Copy link
Contributor

@vmjoseph vmjoseph commented Dec 8, 2023

Adds a few catches on vague errors:

  • 409s that are tied to Conflict errors (aka artifact cannot be uploaded due to duplicate name error) now displays a more user friendly message
  • 400s that are tied to InvalidArgument errors (aka too many artifacts for 1 job) now displays a more user friendly message

@vmjoseph vmjoseph changed the title cleaning up error messages Improve error messages (duplicate artifacts; too many artifacts) Dec 8, 2023
@vmjoseph vmjoseph marked this pull request as ready for review December 8, 2023 19:49
@vmjoseph vmjoseph requested a review from a team as a code owner December 8, 2023 19:49
Copy link
Contributor

@bethanyj28 bethanyj28 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

@Wily96 Wily96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@robherley robherley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@vmjoseph vmjoseph merged commit 950e171 into main Dec 11, 2023
14 checks passed
@vmjoseph vmjoseph deleted the vmjoseph/dup-artifact-names branch December 11, 2023 16:27
coolkiid pushed a commit to coolkiid/toolkit that referenced this pull request Dec 17, 2024
…ions#1600)

* cleaning up error messages

* updating package-json

* updating package-lock

* .

* .

* testing return message

* updating error check

* adding test

* rmv unused var

* updating status code to match conflict message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants