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

fix: improve error message for unsupported manifest versions #51

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

gahyusuh
Copy link
Contributor

What was the problem/requirement? (What/Why)

When Job Attachments library tries to decode a manifest but gets an unsupported manifest version, the current error message does not provide clear info about what the actual supported versions are.

What was the solution? (How)

We need to make the error messages very clear. Improved the error message to include a list of currently supported versions.

What is the impact of this change?

Makes the error message more informative, aiding in quicker issue resolution.

How was this change tested?

  • Added a new unit test, and ran: hatch run lint && hatch run test
  • Ran integ tests: hatch run integ:test

Was this change documented?

No.

Is this a breaking change?

No.

@gahyusuh gahyusuh requested a review from a team as a code owner September 22, 2023 20:53
@gahyusuh gahyusuh force-pushed the gahyusuh/err_msg_manifest_version branch from d0fa0dd to 0c2c354 Compare September 22, 2023 20:53
Copy link
Contributor

@marofke marofke left a comment

Choose a reason for hiding this comment

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

Looks great, thanks for doing this so quickly!

@gahyusuh gahyusuh merged commit 04b43c1 into mainline Sep 22, 2023
17 checks passed
@gahyusuh gahyusuh deleted the gahyusuh/err_msg_manifest_version branch September 22, 2023 21:53
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.

3 participants