Skip to content

Commit 7ff1560

Browse files
author
Oleg Sukhodolsky
committed
need to catch SystemCallError in Interface.error
1 parent cc01029 commit 7ff1560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ruby-debug-ide/interface.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def print(*args)
2828

2929
def close
3030
@socket.close
31-
rescue IOError
31+
rescue IOError, SystemCallError
3232
end
3333

3434
# Workaround for JRuby issue http://jira.codehaus.org/browse/JRUBY-2063

0 commit comments

Comments
 (0)