Log exception information when a Task fails

* Previously, exception traceback was only available in the
  `Task#result` itself; now it's available in server logs
Add better logging around `display_name` errors
Merge pull request #1195 from reciprocity/feature/task-error-logging

Add better error logging