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

raise a useful error when setting an unknown visibility #5801

Merged
merged 1 commit into from
Aug 29, 2022

Conversation

no-reply
Copy link
Contributor

when a user tries to set a visilibity we don't know about, don't respond with
NoMethodError on nil, but give a useful error message that hints at what has
gone wrong.

@samvera/hyrax-code-reviewers

@no-reply
Copy link
Contributor Author

related to #5572

when a user tries to set a visilibity we don't know about, don't respond with
`NoMethodError` on `nil`, but give a useful error message that hints at what has
gone wrong.
@dlpierce dlpierce merged commit 2330b8b into main Aug 29, 2022
@dlpierce dlpierce deleted the keyerror-visibility branch August 29, 2022 21:02
@dlpierce dlpierce added the notes-minor Release Notes: Non-breaking features label Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notes-minor Release Notes: Non-breaking features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants