added internal server error
Merge pull request #171 from kevinzurek/fix-addInternalServerErrors

added internal server error