Method: Honeybadger::Config#exception_fingerprint

Defined in:
lib/honeybadger/config.rb

#exception_fingerprint(&block) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


108
109
110
111
112
113
114
115
# File 'lib/honeybadger/config.rb', line 108

def exception_fingerprint(&block)
  if block_given?
    warn('DEPRECATED: exception_fingerprint is deprecated. Please use before_notify instead. See https://docs.honeybadger.io/ruby/support/v4-upgrade#exception_fingerprint')
    self[:exception_fingerprint] = block
  end

  self[:exception_fingerprint]
end