diff --git a/skyvern/webeye/browser_factory.py b/skyvern/webeye/browser_factory.py index 23561ae609..674351dd79 100644 --- a/skyvern/webeye/browser_factory.py +++ b/skyvern/webeye/browser_factory.py @@ -485,6 +485,8 @@ async def set_working_page(self, page: Page | None, index: int = 0) -> None: self.browser_artifacts.video_artifacts[index].video_path = await page.video.path() except asyncio.TimeoutError: LOG.info("Timeout to get the page video, skip the exception") + except Exception: + LOG.exception("Error while getting the page video", exc_info=True) return target_lenght = index + 1 @@ -496,6 +498,8 @@ async def set_working_page(self, page: Page | None, index: int = 0) -> None: self.browser_artifacts.video_artifacts[index].video_path = await page.video.path() except asyncio.TimeoutError: LOG.info("Timeout to get the page video, skip the exception") + except Exception: + LOG.exception("Error while getting the page video", exc_info=True) return async def get_or_create_page(