Skip to content

Commit 49b2e54

Browse files
committed
Need to use ::Exception to avoid name clashing with ::Debugger::Exception
1 parent 1f6c943 commit 49b2e54

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/ruby-debug-ide/ide_processor.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,7 @@ def process_commands
9090
end
9191
end
9292
end
93-
rescue IOError, SystemCallError
94-
@printer.print_debug "INTERNAL ERROR!!! #{$!}\n"
95-
@printer.print_error "INTERNAL ERROR!!! #{$!}\n" rescue nil
96-
@printer.print_error $!.backtrace.map{|l| "\t#{l}"}.join("\n") rescue nil
97-
rescue Exception
93+
rescue ::Exception
9894
@printer.print_debug "INTERNAL ERROR!!! #{$!}\n" rescue nil
9995
@printer.print_error "INTERNAL ERROR!!! #{$!}\n" rescue nil
10096
@printer.print_error $!.backtrace.map{|l| "\t#{l}"}.join("\n") rescue nil

0 commit comments

Comments
 (0)