Add exceptional for better error tracking in production

This commit is contained in:
Luke Barratt 2014-03-31 00:11:32 +01:00
parent cea15c1eb1
commit ed43a36e9d
5 changed files with 14 additions and 7 deletions

View file

@ -16,4 +16,6 @@ MYSQL_CONNECTION_POOL=8
NEW_RELIC_APP_NAME=ENSL
NEW_RELIC_LICENSE_KEY=
EXCEPTIONAL_API_KEY=
GOOGLE_CALENDAR_ID=

1
.gitignore vendored
View file

@ -16,7 +16,6 @@
# Assets
/public/system/*
/public/files
/public/files/*
/public/local

10
Gemfile
View file

@ -7,15 +7,12 @@ gem 'rails', '~> 3.2.17'
gem 'mysql2', '~> 0.3.15'
gem 'dalli', '~> 2.7.0'
gem 'exceptional', '~> 2.0.33'
gem 'oj', '~> 2.5.5'
gem 'jquery-rails', '~> 2.0.2'
gem 'sass-rails', '~> 3.2.5'
gem 'coffee-rails', '~> 3.2.2'
gem 'gruff', '~> 0.3.6'
gem 'nokogiri', '~> 1.6.1'
gem 'bbcoder', '~> 1.0.1'
gem 'sanitize', '~> 2.1.0'
gem 'tinymce-rails', '~> 3.5.4.1'
gem 'carrierwave', '~> 0.10.0'
gem 'bluecloth', '~> 2.2.0'
gem 'therubyracer', '~> 0.12.1'
@ -25,6 +22,11 @@ gem 'dynamic_form', '~> 1.1.4'
gem 'country_code_select', '~> 1.0.1'
gem 'rmagick', '~> 2.13.2', require: false
gem 'tinymce-rails', '~> 3.5.9'
gem 'jquery-rails', '~> 2.0.2'
gem 'sass-rails', '~> 3.2.5'
gem 'coffee-rails', '~> 3.2.2'
group :assets do
gem 'uglifier', '~> 2.5.0'
end

View file

@ -91,6 +91,8 @@ GEM
dotenv (= 0.10.0)
dynamic_form (1.1.4)
erubis (2.7.0)
exceptional (2.0.33)
rack
execjs (1.4.0)
multi_json (~> 1.0)
factory_girl (4.4.0)
@ -220,7 +222,7 @@ GEM
thor (0.18.1)
tilt (1.4.1)
tins (1.0.1)
tinymce-rails (3.5.4.1)
tinymce-rails (3.5.9)
railties (>= 3.1.1)
treetop (1.4.15)
polyglot
@ -262,6 +264,7 @@ DEPENDENCIES
database_cleaner (~> 1.2.0)
dotenv-rails (~> 0.10.0)
dynamic_form (~> 1.1.4)
exceptional (~> 2.0.33)
factory_girl_rails (~> 4.4.1)
gruff (~> 0.3.6)
jquery-rails (~> 2.0.2)
@ -280,7 +283,7 @@ DEPENDENCIES
selenium-webdriver (~> 2.41.0)
simplecov (~> 0.7.1)
therubyracer (~> 0.12.1)
tinymce-rails (~> 3.5.4.1)
tinymce-rails (~> 3.5.9)
uglifier (~> 2.5.0)
unicorn (~> 4.8.2)
will_paginate (~> 3.0.5)

1
config/exceptional.yml Normal file
View file

@ -0,0 +1 @@
api-key: <%= ENV['EXCEPTIONAL_API_KEY'] %>