From f06c36790cac1f99cda88615b7198188b169888b Mon Sep 17 00:00:00 2001 From: uhbrar Date: Wed, 10 Jun 2026 10:02:55 -0400 Subject: [PATCH] raises retriever error to stop query --- workers/aragorn_pathfinder/worker.py | 1 + 1 file changed, 1 insertion(+) diff --git a/workers/aragorn_pathfinder/worker.py b/workers/aragorn_pathfinder/worker.py index fc82122..d91d9c1 100644 --- a/workers/aragorn_pathfinder/worker.py +++ b/workers/aragorn_pathfinder/worker.py @@ -225,6 +225,7 @@ async def shadowfax(task, logger: logging.Logger) -> str: except Exception as e: logger.error(f"Error contacting retriever: {e}") logger.debug(f"Error details: {retriever_async_response.json()}") + raise e # this worker might have a timeout set for if the lookups don't finish within a certain # amount of time