sbrl / Pepperminty-Wiki

A wiki in a box
https://peppermint.mooncarrot.space/
Mozilla Public License 2.0
180 stars 22 forks source link

Catch errors when uploading files #146

Closed ikisler closed 7 years ago

ikisler commented 7 years ago

If you attempt to upload a file that is too large, or some other upload error occurs (file only uploads partially, etc.), it gives you an "unkown file type" error, rather than something more descriptive. Added a message specifically for file too large, and another general one if something else in the upload fails.

sbrl commented 7 years ago

I think you included this in your other PR! I'll do them both at once, sincce I've already edited the other once :-)