Log full error when task runner throws exception

This seems to be happening pretty often on our Jenkins build machines, so
it would be nice to have the full stacktrace and details to debug.
Merge pull request #257 from spotify/rohan/fix-tests

Log full error when task runner throws exception