Add a writeFailure errback to log the traceback in the context of the ongoing action.