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

@@ -269,9 +269,9 @@ class ScrapingFailed(SkyvernException):
super().__init__("Scraping failed.")
class ScrapingFailedNoUrl(ScrapingFailed):
class ScrapingFailedBlankPage(ScrapingFailed):
def __init__(self) -> None:
super().__init__(reason="A URL is missing. Please ensure there is a URL for Skyvern to work with.")
super().__init__(reason="It's a blank page. Please ensure there is a non-blank page for Skyvern to work with.")
class WorkflowRunContextNotInitialized(SkyvernException):