Commit 05f794b21a4746cb46336bda2a0227925938771d

Authored by Rafael Manzo
1 parent e16789d2

Ignore exceptions produced by crawlers

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
config/environments/production.rb
... ... @@ -100,6 +100,7 @@ Rails.application.configure do
100 100  
101 101 # Exception Notification
102 102 config.middleware.use ExceptionNotification::Rack,
  103 + :ignore_crawlers => %w{Googlebot bingbot SeznamBot Baiduspider},
103 104 :email => {
104 105 :email_prefix => "[Prezento Error] ",
105 106 :sender_address => %{"mezurometrics" <mezurometrics@gmail.com>},
... ...