def pack_job_error(self, job_name):
        working_dir = os.path.join(self.working_dir, job_name)
        pack_dir = pack_local_job_error(job_name, working_dir=working_dir, 
                                        logger=self.logger)
        zip_filename = os.path.join(self.zip_dir,
                                    '%s_%s_errors.zip'%(self.ctx.ip.replace('.', '_'), job_name))
        if os.path.exists(zip_filename):
            os.remove(zip_filename)
        
        ZipHandler.compress(zip_filename, pack_dir)
        FileTransportClient(self.master, zip_filename).send_file()
dataset/ETHPy150Open chineking/cola/cola/cluster/worker.py/Worker.pack_job_error/original