Commit 5dd9ee46d69eaf698ff32b86516854ac63627c6e
Exists in
colab
and in
4 other branches
Merge pull request #134 from mezuro/yet_bots_notifications
Ignoring errors from AhrefsBot TurnitinBot crawlers
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
config/environments/production.rb
@@ -100,7 +100,7 @@ Rails.application.configure do | @@ -100,7 +100,7 @@ Rails.application.configure do | ||
100 | 100 | ||
101 | # Exception Notification | 101 | # Exception Notification |
102 | config.middleware.use ExceptionNotification::Rack, | 102 | config.middleware.use ExceptionNotification::Rack, |
103 | - :ignore_crawlers => %w{Googlebot bingbot SeznamBot Baiduspider}, | 103 | + :ignore_crawlers => %w{Googlebot bingbot SeznamBot Baiduspider AhrefsBot TurnitinBot Mail.RU_Bot Slurp DotBot}, |
104 | :email => { | 104 | :email => { |
105 | :email_prefix => "[Prezento Error] ", | 105 | :email_prefix => "[Prezento Error] ", |
106 | :sender_address => %{"mezurometrics" <mezurometrics@gmail.com>}, | 106 | :sender_address => %{"mezurometrics" <mezurometrics@gmail.com>}, |