Skip to content

Commit 1495347

Browse files
committed
Log all js exceptions to logfile with level warn.
1 parent 3c19284 commit 1495347

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SeleniumTestability/listener.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,4 @@ def before_quit(self: "TestabilityListener", driver: WebDriver) -> None:
129129

130130
@log_wrapper
131131
def on_exception(self: "TestabilityListener", exception: Exception, driver: WebDriver) -> None:
132-
pass
132+
self.logger.warn(str(exception))

0 commit comments

Comments
 (0)