Failure to parse thumbnail crashes client
Johni0702 opened this issue ยท 0 comments
Cause
Image.read
returns null
instead of throwing an IOException
when it cannot identify the format (as opposed to identifying the format but failing to parse it).
We should handle that case properly instead of crashing the whole client a few lines later:
https://pastebin.com/raw/Y5sZXz65