Skip to content

Commit

Permalink
RUBY-436 Handle IRB::Abort Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerBrock committed Apr 23, 2012
1 parent ecafeed commit 4c717f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mongo/networking.rb
Expand Up @@ -137,7 +137,7 @@ def receive_message(operation, message, log_message=nil, socket=nil, command=fal

send_message_on_socket(packed_message, sock)
result = receive(sock, request_id, exhaust)
rescue SystemStackError, NoMemoryError, SystemCallError => ex
rescue SystemStackError, NoMemoryError, SystemCallError, IRB::Abort => ex
close
raise ex
ensure
Expand Down

0 comments on commit 4c717f0

Please sign in to comment.