Skip to content

Commit 17a9fb3

Browse files
committed
2805
1 parent 5da6d4d commit 17a9fb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mongo/server/push_monitor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def do_work
110110
if new_description.topology_version
111111
@topology_version = new_description.topology_version
112112
end
113-
rescue Mongo::Error => exc
113+
rescue IOError, SocketError, SystemCallError, Mongo::Error => exc
114114
stop_requested = @lock.synchronize { @stop_requested }
115115
if stop_requested
116116
# Ignore the exception, see RUBY-2771.

0 commit comments

Comments
 (0)