Improve the logging of errors in Mylyn Task.