Skip to content

Commit d1400ff

Browse files
fix linter
1 parent 4596922 commit d1400ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stagehand/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ async def _init_playwright_with_timeout(self):
476476
raise RuntimeError(
477477
"Playwright initialization timed out after 30 seconds. This may indicate "
478478
"your environment has strict event loop restrictions."
479-
)
479+
) from None
480480
except Exception as e:
481481
self.logger.error(f"Failed to initialize playwright: {e}")
482482
raise RuntimeError(

0 commit comments

Comments
 (0)