This commit is contained in:
Thomas Sileo
2018-07-22 12:53:09 +02:00
parent 42466ddfba
commit fcf9524ac0
2 changed files with 4 additions and 1 deletions

View File

@@ -117,7 +117,8 @@ def process_new_activity(self, iri: str) -> None:
)
log.info(f"new activity {iri} processed")
cache_actor.delay(iri)
if not should_delete:
cache_actor.delay(iri)
except (ActivityGoneError, ActivityNotFoundError):
log.exception(f"dropping activity {iri}, skip processing")
except Exception as err: