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

Replace unwrap in error handling #93

Merged
merged 1 commit into from
Aug 3, 2024

Conversation

NiseVoid
Copy link
Contributor

@NiseVoid NiseVoid commented Jun 2, 2024

I ran accross a case where instead of a warning I got an unwrap in error handling. Two cases didn't seem to use unwrap_or(0..0) like all the others in this function. The errors will get slightly weird when it's missing but at least it won't cause crashes and the user has some idea of what is wrong

@mockersf mockersf merged commit 1cc77e5 into bevyengine:master Aug 3, 2024
7 checks passed
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.

4 participants