From 83f4cfecef6ea63fae28204714e5d7be7782d5f8 Mon Sep 17 00:00:00 2001 From: Tom Naessens Date: Wed, 9 Sep 2015 13:37:10 +0200 Subject: [PATCH] Add errbit integration --- Gemfile | 3 +++ Gemfile.lock | 4 ++++ config/initializers/errbit.rb | 6 ++++++ 3 files changed, 13 insertions(+) create mode 100644 config/initializers/errbit.rb diff --git a/Gemfile b/Gemfile index 85db2d0..f1dfbf1 100644 --- a/Gemfile +++ b/Gemfile @@ -84,3 +84,6 @@ end gem 'high_voltage', '~> 2.4.0' gem 'simple_form' + +# Errors on errbit +gem 'airbrake' diff --git a/Gemfile.lock b/Gemfile.lock index 3a644d4..6261c2e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -36,6 +36,9 @@ GEM minitest (~> 5.1) thread_safe (~> 0.3, >= 0.3.4) tzinfo (~> 1.1) + airbrake (4.3.1) + builder + multi_json ajax-datatables-rails (0.3.1) railties (>= 3.1) annotate (2.6.10) @@ -254,6 +257,7 @@ PLATFORMS ruby DEPENDENCIES + airbrake ajax-datatables-rails annotate byebug diff --git a/config/initializers/errbit.rb b/config/initializers/errbit.rb new file mode 100644 index 0000000..00712ab --- /dev/null +++ b/config/initializers/errbit.rb @@ -0,0 +1,6 @@ +Airbrake.configure do |config| + config.api_key = '066f6146dde14038b5ab69a2f680cd4a' + config.host = 'zeus-errbit.ilion.me' + config.port = 80 + config.secure = config.port == 443 +end