events: create event when system task fails

This commit is contained in:
Jens Langhammer
2021-01-18 09:34:48 +01:00
parent 32667f37d1
commit 3d3a0cd9e3
14 changed files with 36 additions and 12 deletions

View File

@ -8,7 +8,7 @@ from django.db.models.base import Model
from django.utils.text import slugify
from structlog.stdlib import get_logger
from authentik.lib.tasks import MonitoredTask, TaskResult, TaskResultStatus
from authentik.events.monitored_tasks import MonitoredTask, TaskResult, TaskResultStatus
from authentik.lib.utils.reflection import path_to_class
from authentik.outposts.controllers.base import ControllerException
from authentik.outposts.models import (