Issuing status code 500 on error
Merge pull request #408 from dswd/error-code

Issuing status code 500 on error