Added 500 error response. Fixes bug where requesting / would spin
forever.