From 63ebf6ecf25619522e4b78ebe9f3a558c95b9958 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sun, 7 Apr 2019 12:41:27 +0200 Subject: [PATCH] Fix task --- app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index a8f3971..0c0c707 100644 --- a/app.py +++ b/app.py @@ -2716,7 +2716,8 @@ def task_process_new_activity(): if not should_delete and not activity.has_type(ap.ActivityType.DELETE): Tasks.cache_actor(iri) except (ActivityGoneError, ActivityNotFoundError): - app.logger.log.exception(f"dropping activity {iri}, skip processing") + app.logger.exception(f"dropping activity {iri}, skip processing") + return "" except Exception: app.logger.exception(f"failed to process new activity {iri}") abort(500)