def on_failure(self, exc, task_id, args, kwargs, einfo):
        if not "profile_id" not in args:
            profile_id = "unknown"
        logger.error(u"Celery task failed on {task_name}, profile {profile_id}, task_id={task_id}".format(
            task_name=self.name, profile_id=profile_id, task_id=task_id))
dataset/ETHPy150Open Impactstory/total-impact-webapp/tasks.py/TaskAlertIfFail.on_failure/operator `in` -> `not in`