Fix uninformative error message when uploading unsupported image files (#13540)
Fix uninformative error message when uploading unsupported image files (#13540)

Attempting to upload image files that the browser is unable to load results
in “Oops! An unexpected error occurred.”

This commit changes the error handling so that an unprocessable image results
in the file being sent anyway, which might cover a few corner cases, and
provide a slightly better error message.
masto-donte-com-br/mastodon,primenumber/mastodon,h3zjp/mastodon,danhunsaker/mastodon,rainyday/mastodon,danhunsaker/mastodon,cobodo/mastodon,Ryanaka/mastodon,h3zjp/mastodon,tootcafe/mastodon,rainyday/mastodon,imas/mastodon,tootsuite/mastodon,tootsuite/mastodon,Nyoho/mastodon,musashino205/mastodon,ikuradon/mastodon,pinfort/mastodon,abcang/mastodon,tootcafe/mastodon,yi0713/mastodon,musashino205/mastodon,koba-lab/mastodon,cobodo/mastodon,lindwurm/mastodon,Ryanaka/mastodon,maa123/mastodon,tootsuite/mastodon,primenumber/mastodon,lindwurm/mastodon,lynlynlynx/mastodon,ikuradon/mastodon,primenumber/mastodon,pinfort/mastodon,pinfort/mastodon,abcang/mastodon,maa123/mastodon,masto-donte-com-br/mastodon,ykzts/mastodon,ykzts/mastodon,yukimochi/mastodon,ikuradon/mastodon,danhunsaker/mastodon,Kirishima21/mastodon,cobodo/mastodon,Kirishima21/mastodon,im-in-space/mastodon,h3zjp/mastodon,MitarashiDango/mastodon,masto-donte-com-br/mastodon,koba-lab/mastodon,gol-cha/mastodon,im-in-space/mastodon,MitarashiDango/mastodon,lynlynlynx/mastodon,imas/mastodon,Kirishima21/mastodon,glitch-soc/mastodon,Ryanaka/mastodon,koba-lab/mastodon,yukimochi/mastodon,masto-donte-com-br/mastodon,tootsuite/mastodon,lindwurm/mastodon,musashino205/mastodon,abcang/mastodon,MitarashiDango/mastodon,gol-cha/mastodon,glitch-soc/mastodon,yukimochi/mastodon,danhunsaker/mastodon,abcang/mastodon,h3zjp/mastodon,lynlynlynx/mastodon,musashino205/mastodon,lindwurm/mastodon,primenumber/mastodon,ykzts/mastodon,glitch-soc/mastodon,rainyday/mastodon,im-in-space/mastodon,theoria24/mastodon,tootcafe/mastodon,MitarashiDango/mastodon,yukimochi/mastodon,ykzts/mastodon,lynlynlynx/mastodon,theoria24/mastodon,tri-star/mastodon,pinfort/mastodon,tootcafe/mastodon,gol-cha/mastodon,im-in-space/mastodon,Nyoho/mastodon,Nyoho/mastodon,ikuradon/mastodon,cobodo/mastodon,Nyoho/mastodon,Kirishima21/mastodon,imas/mastodon,koba-lab/mastodon,maa123/mastodon,theoria24/mastodon,tri-star/mastodon,tri-star/mastodon,yi0713/mastodon,yi0713/mastodon,Ryanaka/mastodon,imas/mastodon,theoria24/mastodon,tri-star/mastodon,maa123/mastodon,yi0713/mastodon,gol-cha/mastodon,glitch-soc/mastodon,rainyday/mastodon