Skip to content

🐛 Add safe navigation operator for nil mime types #672

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

Merged
merged 1 commit into from
May 30, 2024

Conversation

kirkkwang
Copy link
Contributor

Some times we're seeing a file set come in with a nil mime type because something went wrong. This would break the viewer because we get a NoMethodError when trying to call include?. Adding the lonely operator here should prevent that from happening.

Some times we're seeing a file set come in with a nil mime type because
something went wrong.  This would break the viewer because we get a
`NoMethodError` when trying to call `include?`.  Adding the lonely
operator here should prevent that from happening.
@kirkkwang kirkkwang merged commit 3dd9dd2 into main May 30, 2024
7 checks passed
@kirkkwang kirkkwang deleted the add-safe-nav-operator-for-nil-mime-types branch May 30, 2024 20:13
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.

2 participants