Skip to content

Commit 2012243

Browse files
authored
[rb] Made network interception threads fail silently (#12226)
1 parent d717074 commit 2012243

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rb/lib/selenium/webdriver/common/websocket_connection.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def callback_thread(params)
129129
Thread.current.report_on_exception = true
130130

131131
yield params
132-
rescue *CONNECTION_ERRORS
132+
rescue Error::WebDriverError, *CONNECTION_ERRORS
133133
Thread.stop
134134
end
135135
end

0 commit comments

Comments
 (0)