Method: Pheme.capture_exception

Defined in:
lib/pheme/error_reporting.rb

.capture_exception(exception, message, data = {}) ⇒ Object



2
3
4
5
6
# File 'lib/pheme/error_reporting.rb', line 2

def self.capture_exception(exception, message, data = {})
  return if configuration.error_reporting_func.nil?

  configuration.error_reporting_func.call(exception, message, data)
end