lib/byebug/commands/catchpoint.rb in byebug-2.3.1 vs lib/byebug/commands/catchpoint.rb in byebug-2.4.0
- old
+ new
@@ -17,10 +17,10 @@
confirm("Delete all catchpoints? (y or n) ")
else
print "Warning #{@match[1]} is not known to be a Class\n" unless
bb_eval "#{@match[1]}.is_a?(Class)", get_binding
Byebug.add_catchpoint @match[1]
- print "Catch exception #{@match[1]}.\n"
+ print "Catching exception #{@match[1]}.\n"
end
elsif @match[2] != 'off'
errmsg "Off expected. Got #{@match[2]}\n"
elsif Byebug.catchpoints.member?(@match[1])
Byebug.catchpoints.delete @match[1]