command: implement error reporting for async pipeline.