Skip to content

Commit 7ce8972

Browse files
committed
There is Debugger::Exception thus to rescue ::Exception we have to use fqn
1 parent bad1586 commit 7ce8972

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/ruby-debug-ide/ide_processor.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,7 @@ def process_commands
4747
end
4848
state.restore_context
4949
end
50-
rescue IOError, SystemCallError
51-
@printer.print_error "INTERNAL ERROR!!! #{$!}\n" rescue nil
52-
@printer.print_error $!.backtrace.map{|l| "\t#{l}"}.join("\n") rescue nil
53-
rescue Exception
50+
rescue ::Exception
5451
@printer.print_error "INTERNAL ERROR!!! #{$!}\n" rescue nil
5552
@printer.print_error $!.backtrace.map{|l| "\t#{l}"}.join("\n") rescue nil
5653
end

0 commit comments

Comments
 (0)