Skip to content

Commit 63941dc

Browse files
committed
Fix log message on exception in UC Reactor
First, the exception didn't have a placeholder which caused a logging exception. Also, logging.debug was called instead of logger.debug. This had a side effect that all the debug messages after that would print to the console, even when they didn't before.
1 parent bc1e95d commit 63941dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seleniumbase/undetected/reactor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ async def listen(self):
8181
if "invalid session id" in str(e):
8282
pass
8383
else:
84-
logging.debug("exception ignored :", e)
84+
logger.debug("exception ignored : %s", e)

0 commit comments

Comments
 (0)