mirror of
https://github.com/danbee/danbarberphoto
synced 2025-03-04 08:49:07 +00:00
Remove exception notifier
This commit is contained in:
parent
235c7d9f40
commit
da675fbb96
1
Gemfile
1
Gemfile
@ -71,7 +71,6 @@ end
|
|||||||
|
|
||||||
gem 'newrelic_rpm'
|
gem 'newrelic_rpm'
|
||||||
|
|
||||||
gem 'exception_notification', :git => 'git://github.com/rails/exception_notification', :require => 'exception_notifier'
|
|
||||||
gem 'pg'
|
gem 'pg'
|
||||||
gem 'devise'
|
gem 'devise'
|
||||||
gem 'simple_form'
|
gem 'simple_form'
|
||||||
|
|||||||
@ -1,9 +1,3 @@
|
|||||||
GIT
|
|
||||||
remote: git://github.com/rails/exception_notification
|
|
||||||
revision: 192a49a02d63d28b23ed41cebadfedd490929cf1
|
|
||||||
specs:
|
|
||||||
exception_notification (1.0.0)
|
|
||||||
|
|
||||||
GEM
|
GEM
|
||||||
remote: http://rubygems.org/
|
remote: http://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
@ -305,7 +299,6 @@ DEPENDENCIES
|
|||||||
dotenv-rails
|
dotenv-rails
|
||||||
dragonfly
|
dragonfly
|
||||||
dragonfly-s3_data_store
|
dragonfly-s3_data_store
|
||||||
exception_notification!
|
|
||||||
factory_girl_rails
|
factory_girl_rails
|
||||||
fivemat
|
fivemat
|
||||||
foreman
|
foreman
|
||||||
|
|||||||
@ -57,11 +57,6 @@ module DanBarberPhoto
|
|||||||
if Rails.env.production?
|
if Rails.env.production?
|
||||||
# Heartbeat
|
# Heartbeat
|
||||||
config.middleware.insert_before 0, 'Heartbeat'
|
config.middleware.insert_before 0, 'Heartbeat'
|
||||||
|
|
||||||
# Rack Middleware
|
|
||||||
config.middleware.use ::ExceptionNotifier, :email_prefix => "[DanBarberPhoto] ",
|
|
||||||
:sender_address => %{"Exception Notification" <notifier@danbarberphoto.com>},
|
|
||||||
:exception_recipients => %w{dan@danbarberphoto.com}
|
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user