module ElasticAPM

def self.report(exception, handled: true)

Returns:
  • (Error) - The generated [Error]

Parameters:
  • handled (Boolean) -- Whether the exception was rescued
  • exception (Exception) -- The exception
def self.report(exception, handled: true)
  agent && agent.report(exception, handled: handled)
end