lib/review/location.rb in review-5.3.0 vs lib/review/location.rb in review-5.4.0
- old
+ new
@@ -20,10 +20,10 @@
end
def string
begin
"#{@filename}:#{@f.lineno}"
- rescue
+ rescue StandardError
"#{@filename}:nil"
end
end
alias_method :to_s, :string