Convert ‘applyResults’ middleware to only be an error emitter