Skip to content

chore: add owner and repository names to errors#249

Merged
jmeridth merged 1 commit intomainfrom
jm-improve-error-message
Apr 23, 2024
Merged

chore: add owner and repository names to errors#249
jmeridth merged 1 commit intomainfrom
jm-improve-error-message

Conversation

@jmeridth
Copy link
Copy Markdown
Collaborator

@jmeridth jmeridth commented Apr 23, 2024

Fixes #234

Pull Request

Proposed Changes

Add owner and repository info to error messages

Readiness Checklist

Author/Contributor

  • If documentation is needed for this change, has that been included in this pull request
  • run make lint and fix any issues that you have introduced
  • run make test and ensure you have test coverage for the lines you are introducing

Reviewer

  • Label as either fix, documentation, enhancement, infrastructure, or breaking

@jmeridth jmeridth self-assigned this Apr 23, 2024
@jmeridth jmeridth requested a review from zkoppert as a code owner April 23, 2024 04:08
@jmeridth jmeridth force-pushed the jm-improve-error-message branch from dc78fc2 to a74d37c Compare April 23, 2024 04:10
Add owner and repository info to error messages

Signed-off-by: jmeridth <jmeridth@gmail.com>
@jmeridth jmeridth force-pushed the jm-improve-error-message branch from a74d37c to da4e827 Compare April 23, 2024 05:00
@jmeridth jmeridth requested a review from zkoppert April 23, 2024 05:01
@jmeridth
Copy link
Copy Markdown
Collaborator Author

@zkoppert got rid of the duplicate code and went with a dictionary. Easier to set, access and default to None when key not present.

Copy link
Copy Markdown
Collaborator

@zkoppert zkoppert left a comment

Choose a reason for hiding this comment

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

🚀

@jmeridth jmeridth merged commit 95d854c into main Apr 23, 2024
@jmeridth jmeridth deleted the jm-improve-error-message branch April 23, 2024 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve error message

2 participants