def _handle_sighup(self, signum: int, frame: Any) -> None:
logger.warning("<STR_LIT>")<EOL>exc_info = self._heartbeat_exc_info<EOL>self._heartbeat_exc_info = None<EOL>formatted_exception = '<STR_LIT>'.join(traceback.format_exception(*exc_info))  <EOL>raise HeartbeatError(exc_info)<EOL>
Used internally to fail the task when connection to RabbitMQ is
        lost during the execution of the task.