diff --git a/lib/pry/command_processor.rb b/lib/pry/command_processor.rb index 32b5db95..bb273823 100644 --- a/lib/pry/command_processor.rb +++ b/lib/pry/command_processor.rb @@ -62,7 +62,7 @@ class Pry # so early exit. begin interp_val = interpolate_string(val, target) - rescue NameError + rescue Exception next end