# File lib/mongo/operation/shared/executable_transaction_label.rb, line 26 def execute(server) super rescue Mongo::Error::SocketError => e if session && session.in_transaction? e.send(:add_label, Mongo::Error::TRANSIENT_TRANSACTION_ERROR_LABEL) end raise e end