def _get_last_worker_died(self):
for service_id in list(self._running_services.keys()):<EOL><INDENT>processes = list(self._running_services[service_id].items())<EOL>for process, worker_id in processes:<EOL><INDENT>if not process.is_alive():<EOL><INDENT>self._run_hooks('<STR_LIT>', service_id, worker_id,<EOL>process.exitcode)<EOL>if process.exitcode < <NUM_LIT:0>:<EOL><INDENT>sig = _utils.signal_to_name(process.exitcode)<EOL>LOG.info('<STR_LIT>',<EOL>dict(pid=process.pid, sig=sig))<EOL><DEDENT>else:<EOL><INDENT>LOG.info('<STR_LIT>',<EOL>dict(pid=process.pid, code=process.exitcode))<EOL><DEDENT>del self._running_services[service_id][process]<EOL>return service_id, worker_id<EOL><DEDENT><DEDENT><DEDENT>
Return the last died worker information or None