Skip to content

Commit 15fd40b

Browse files
fix logging (#166)
* fix logging * update * update changest
1 parent 426df10 commit 15fd40b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/woodoo-frog-of-growth.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"stagehand": patch
3+
---
4+
5+
fix logging param name

stagehand/page.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ async def sweep_stalled_requests():
606606
meta.pop(request_id, None)
607607
self._stagehand.logger.debug(
608608
"⏳ forcing completion of stalled iframe document",
609-
extra={"url": request_meta["url"][:120]},
609+
auxiliary={"url": request_meta["url"][:120]},
610610
)
611611
maybe_quiet()
612612

@@ -620,7 +620,7 @@ async def timeout_guard():
620620
if len(inflight) > 0:
621621
self._stagehand.logger.debug(
622622
"⚠️ DOM-settle timeout reached – network requests still pending",
623-
extra={"count": len(inflight)},
623+
auxiliary={"count": len(inflight)},
624624
)
625625
resolve_done()
626626

0 commit comments

Comments
 (0)