Turn task failure into a 500 error
Merge pull request #4 from alexcrichton/fail-500

Turn task failure into a 500 error