Commit 1547df7913da56799baca2e09d1413660dc5dac1

Authored by Nathan Broadbent
1 parent 0bf583b6
Exists in master and in 1 other branch production

Fixed self error-reporting config.

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
config/initializers/hoptoad.rb
1 if Rails.env.production? && Errbit::Config.report_self_errors.to_s != "false" 1 if Rails.env.production? && Errbit::Config.report_self_errors.to_s != "false"
2 HoptoadNotifier.configure do |config| 2 HoptoadNotifier.configure do |config|
3 - config.api_key = Errbit::Config.api_key || "11e5ce322856e540481e6a0789893179"  
4 - config.host = Errbit::Config.host || "errbit-central.heroku.com"  
5 - config.port = Errbit::Config.port || 80 3 + config.api_key = Errbit::Config.self_errors_api_key || "11e5ce322856e540481e6a0789893179"
  4 + config.host = Errbit::Config.self_errors_host || "errbit-central.heroku.com"
  5 + config.port = Errbit::Config.self_errors_port || 80
6 config.secure = config.port == 443 6 config.secure = config.port == 443
7 end 7 end
8 end 8 end