Skip to content

Commit 7ac8b4e

Browse files
committed
Need to catch SystemCallError to catch all Errno::XXX
1 parent 2767296 commit 7ac8b4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ruby-debug-ide/ide_processor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def process_commands
9393
end
9494
end
9595
end
96-
rescue IOError, Errno::EPIPE, Errno::ENOTSOCK
96+
rescue IOError, SystemCallError
9797
@printer.print_debug "INTERNAL ERROR!!! #{$!}\n"
9898
@printer.print_error "INTERNAL ERROR!!! #{$!}\n" rescue nil
9999
@printer.print_error $!.backtrace.map{|l| "\t#{l}"}.join("\n") rescue nil

0 commit comments

Comments
 (0)