Skip to content

Commit

Permalink
Add Sentry for Error Reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
mikevallano committed Jan 10, 2017
1 parent 1d5afac commit 193dd5e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Gemfile
Expand Up @@ -21,6 +21,7 @@ gem 'will_paginate'
gem 'coveralls', require: false
gem 'rack-mini-profiler'
gem 'stamp'
gem 'sentry-raven'

group :development, :test do
gem 'pry'
Expand All @@ -47,4 +48,4 @@ group :test do
gem 'selenium-webdriver'
gem 'vcr'
gem 'webmock'
end
end
12 changes: 12 additions & 0 deletions Gemfile.lock
Expand Up @@ -92,6 +92,8 @@ GEM
factory_girl_rails (4.5.0)
factory_girl (~> 4.5.0)
railties (>= 3.0.0)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
ffaker (2.1.0)
ffi (1.9.10)
figaro (1.1.1)
Expand Down Expand Up @@ -145,6 +147,7 @@ GEM
mini_portile2 (2.0.0)
minitest (5.8.3)
multi_json (1.11.2)
multipart-post (2.0.0)
nenv (0.2.0)
netrc (0.11.0)
nokogiri (1.6.7)
Expand Down Expand Up @@ -244,6 +247,8 @@ GEM
multi_json (~> 1.0)
rubyzip (~> 1.0)
websocket (~> 1.0)
sentry-raven (2.1.2)
faraday (>= 0.7.6, < 0.10.x)
shellany (0.0.1)
shoulda-matchers (3.0.1)
activesupport (>= 4.0.0)
Expand Down Expand Up @@ -329,6 +334,7 @@ DEPENDENCIES
sass-rails (~> 5.0)
sdoc (~> 0.4.0)
selenium-webdriver
sentry-raven
shoulda-matchers
spring
spring-commands-rspec
Expand All @@ -340,3 +346,9 @@ DEPENDENCIES
web-console (~> 2.0)
webmock
will_paginate

RUBY VERSION
ruby 2.2.2p95

BUNDLED WITH
1.13.6
5 changes: 5 additions & 0 deletions config/initializers/sentry.rb
@@ -0,0 +1,5 @@
if Rails.env == 'production'
Raven.configure do |config|
config.dsn = ENV["SENTRY_DSN"]
end
end

0 comments on commit 193dd5e

Please sign in to comment.