Files
Larsen Cundric 49fb16b693 fix(BrowserError): drop trailing 'during: None' when no event is attached
BrowserError.__str__ unconditionally appended 'during: <while_handling_event>',
so any error with details set but no event (e.g. ScrollToText 'Text not found',
click failures raised from action handlers) renders as

    Text not found: "X" ({'text': 'X'}) during: None

The 'during: None' tail is logging noise that surfaces ~1.6k times/day in
prod (Datadog: status:error env:production '"\'\}) during: None"', 24h).

Build the string from the parts that are actually populated, instead of
two mutually-exclusive branches that always print one of them.
2026-05-05 16:04:59 +00:00

6.1 KiB