Skip to content

Commit

Permalink
[rb] Made network interception threads fail silently (#12226)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlucartc authored Jul 12, 2023
1 parent d717074 commit 2012243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rb/lib/selenium/webdriver/common/websocket_connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def callback_thread(params)
Thread.current.report_on_exception = true

yield params
rescue *CONNECTION_ERRORS
rescue Error::WebDriverError, *CONNECTION_ERRORS
Thread.stop
end
end
Expand Down

0 comments on commit 2012243

Please sign in to comment.