Photo upload gives 500 with no error log message if cannot save file
This is running GitLab 6.9.2
Summary: Gitlab does not provide a helpful error if it cannot save an uploaded photo due to permissions.
Steps to reproduce: Set the permissions of the uploads directory (i.e. gitlab/public/uploads) such that the process cannot write to it.
Expected Behavior: Gitlab should serve up a 500 error. The access log should indicate the 500 error, and the error log should provide a helpful error message.
Observed Behavior: Gitlab returns 500, the access log indicates the 500 error. The error log provides no message.