Skip to content

Improve error messages for label and repository checks in PR validation (fixes #303) - #550

Open
reinhardt-Stadler wants to merge 1 commit into
up-for-grabs:mainfrom
reinhardt-Stadler:main
Open

Improve error messages for label and repository checks in PR validation (fixes #303)#550
reinhardt-Stadler wants to merge 1 commit into
up-for-grabs:mainfrom
reinhardt-Stadler:main

Conversation

@reinhardt-Stadler

Copy link
Copy Markdown

What

Replaces raw Ruby exception dumps in label/repository error messages with human-readable guidance.

Before

An error occurred while querying for the project label. Details: #<NoMethodError: undefined method `[]' for nil:NilClass>

After

An error occurred while querying for the project label for 'owner/repo'. Please verify the upforgrabs.name and upforgrabs.link values in _data/projects/project.yml.

fixes #303

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.

a better error message for this situation

1 participant