ad 1) Right, thanks for pointing out
ad 2) The logging should be implemented in the task itself - I wouldn't log some generic error "Failed to execute task" - this should be already handled in the task itself. The code submitting the tasks should then check whether there has been any exception and behave according to that.