class Alchemy::ErrorTracking::AirbrakeHandler

Public Class Methods

call(exception) click to toggle source
# File lib/alchemy/error_tracking/airbrake_handler.rb, line 8
def self.call(exception)
  return if ["development", "test"].include?(Rails.env)

  Airbrake.notify(exception)
end