lib/rubocop/cop/lint/handle_exceptions.rb in rubocop-0.15.0 vs lib/rubocop/cop/lint/handle_exceptions.rb in rubocop-0.16.0

- old
+ new

@@ -8,10 +8,10 @@ MSG = 'Do not suppress exceptions.' def on_resbody(node) _exc_list_node, _exc_var_node, body_node = *node - warning(node, :expression) unless body_node + add_offence(node, :expression) unless body_node end end end end end