lib/rorvswild.rb in rorvswild-1.6.1 vs lib/rorvswild.rb in rorvswild-1.6.2

- old
+ new

@@ -36,15 +36,15 @@ def self.measure_block(name, &block) agent ? agent.measure_block(name , &block) : block.call end - def self.catch_error(extra_details = nil, &block) - agent ? agent.catch_error(extra_details, &block) : block.call + def self.catch_error(context = nil, &block) + agent ? agent.catch_error(context, &block) : block.call end - def self.record_error(exception, extra_details = nil) - agent.record_error(exception, extra_details) if agent + def self.record_error(exception, context = nil) + agent.record_error(exception, context) if agent end def self.merge_error_context(hash) agent.merge_error_context(hash) if agent end