lib/attractor/reporters/sinatra_reporter.rb in attractor-1.1.0 vs lib/attractor/reporters/sinatra_reporter.rb in attractor-1.1.1
- old
+ new
@@ -72,8 +72,10 @@
end
def values(type: 'rb')
@values = @calculators[type].calculate
@values
+ rescue NoMethodError => e
+ puts "No calculator for type #{type}"
end
end
end