From 87f57f1675ee3ea1dfafeea63a7d9fea57dfb9f0 Mon Sep 17 00:00:00 2001 From: Otman404 Date: Tue, 17 Feb 2026 02:26:09 +0000 Subject: [PATCH] Fix return in finally block silently suppressing exceptions --- crawl4ai/async_dispatcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crawl4ai/async_dispatcher.py b/crawl4ai/async_dispatcher.py index bd44557c..eb9d1693 100644 --- a/crawl4ai/async_dispatcher.py +++ b/crawl4ai/async_dispatcher.py @@ -465,7 +465,7 @@ class MemoryAdaptiveDispatcher(BaseDispatcher): memory_monitor.cancel() if self.monitor: self.monitor.stop() - return results + return results async def _update_queue_priorities(self): """Periodically update priorities of items in the queue to prevent starvation"""