respect the status code on the error if it exists
Merge branch 'master' of https://github.com/sharelatex/clsi-sharelatex