jglamine / calvinwebprint

A friendlier interface to the printing system at Calvin College.
https://calvinwebprint.com
MIT License
6 stars 7 forks source link

Display an error message when file upload fails #49

Closed tylervz closed 8 years ago

tylervz commented 8 years ago

A common error that has been occurring is the failure of the /api/upload endpoint. While I'd like to get around to finding out why the error is happening so frequently, the least we can do is show an error message.

Here is the console output of when it happened to me twice today:

error

jglamine commented 8 years ago

Looks good to me. See my one comment.

It could be that disk space on the server is getting low. It might be worth looking into.

tylervz commented 8 years ago

I think that might be it. Disk space, I mean.

Hiding the alert on upload is a good idea. I'll update the PR. On Feb 2, 2016 7:40 PM, "James Lamine" notifications@github.com wrote:

Looks good to me. See my one comment.

It could be that disk space on the server is getting low. It might be worth looking into.

— Reply to this email directly or view it on GitHub https://github.com/jglamine/calvinwebprint/pull/49#issuecomment-178917875 .