fix: handle TimeoutError in fetch_info function to prevent double wait

This commit is contained in:
arabcoders 2026-05-07 19:09:31 +03:00
parent 691e37d279
commit ac3c666d32

View file

@ -375,6 +375,9 @@ async def fetch_info(
timeout=extractor_config.timeout,
)
except TimeoutError:
raise
except Exception as exc:
LOG.exception(exc)
LOG.warning("extract_info process pool failed, falling back to thread pool url=%s error=%s", url, exc)