Better task log errors.
Merge pull request #575 from metamx/task-log-errors

Better task log errors.