class Honeybadger::Notice

def unwrap_exception(exception)

Returns the Exception to report.

exception - The exception which was rescued.

reported.
Unwrap the exception so that original exception is ignored or
def unwrap_exception(exception)
  return exception unless config[:'exceptions.unwrap']
  exception_cause(exception) || exception
end