Skip to content

Do not panic on imagebuffer error#27

Open
pgoodjohn wants to merge 1 commit into
robohouse-delft:mainfrom
pgoodjohn:fix/no-panic-on-invalid-size
Open

Do not panic on imagebuffer error#27
pgoodjohn wants to merge 1 commit into
robohouse-delft:mainfrom
pgoodjohn:fix/no-panic-on-invalid-size

Conversation

@pgoodjohn

Copy link
Copy Markdown

Hey!

Ran into these unwrap() causing a panic today from trying to unwrap a None. Changed the code to properly return an error. Hope you can merge!

Cheers

Do not panic if image container is not bg enough

Use u32 in error
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.

1 participant