From f7a873fe7fcdcfb4823f59596c00dea41d588514 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 16 Feb 2020 15:15:37 +0100 Subject: Trigger error on tasks --- ishtar_common/tasks.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ishtar_common/tasks.py') diff --git a/ishtar_common/tasks.py b/ishtar_common/tasks.py index eec97d68a..223eded06 100644 --- a/ishtar_common/tasks.py +++ b/ishtar_common/tasks.py @@ -43,6 +43,11 @@ from archaeological_finds.views import get_find from archaeological_warehouse.views import get_warehouse +@task() +def trigger_error(): + return 1/0 + + @task() def launch_import(import_task_id): try: -- cgit v1.2.3