better failure reason for blank page (#3049)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
This commit is contained in:
LawyZheng
2025-07-29 14:40:54 +08:00
committed by GitHub
parent ffce05c6ef
commit ecc0e2e17d
3 changed files with 10 additions and 10 deletions

View File

@@ -1883,7 +1883,7 @@ class ForgeAgent:
step_id=step.step_id,
exc_info=True,
)
raise ScrapingFailed()
raise e
if scraped_page is None:
raise EmptyScrapePage()