Compare commits

..

1 Commits

Author SHA1 Message Date
AkashiCoin
54d8bbeb53 🎉 chore(version): Update version to v0.2.4-1cc18bb
Some checks failed
Sequential Lint and Type Check / ruff-call (push) Has been cancelled
Sequential Lint and Type Check / pyright-call (push) Has been cancelled
2025-10-09 01:01:30 +00:00
2 changed files with 1 additions and 13 deletions

View File

@ -1 +1 @@
__version__: v0.2.4-d528711
__version__: v0.2.4-1cc18bb

View File

@ -263,18 +263,6 @@ class AsyncHttpx:
)
return result
except Exception as e:
if isinstance(e, HTTPStatusError):
status = getattr(e.response, "status_code", "?")
try:
body_text = getattr(e.response, "text", None)
if body_text is not None and len(body_text) > 2000:
body_text = body_text[:2000] + "...(truncated)"
except Exception:
body_text = "<unavailable>"
logger.debug(
f"请求失败: {url} {status} {body_text}",
"AsyncHttpx:FallbackExecutor",
)
exceptions.append(e)
if url != url_list[-1]:
logger.warning(