Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
search: Fix return type upon Redis error
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaty committed Jun 30, 2021
1 parent 7ccc530 commit 47bf2f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pcapi/core/search/backends/algolia.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def get_venue_ids_from_queue(self, count: int) -> set[int]:
if settings.IS_RUNNING_TESTS:
raise
logger.exception("Could not get venue ids to index from queue")
return []
return set()

def delete_venue_ids_from_queue(self, venue_ids: Iterable[int]) -> None:
if not venue_ids:
Expand Down

0 comments on commit 47bf2f1

Please sign in to comment.