module RorVsWild

def self.catch_error(context = nil, &block)

def self.catch_error(context = nil, &block)
  agent ? agent.catch_error(context, &block) : block.call
end