diff --git a/config/initializers/hoptoad.rb b/config/initializers/hoptoad.rb index 8853ab9..6218c78 100644 --- a/config/initializers/hoptoad.rb +++ b/config/initializers/hoptoad.rb @@ -2,5 +2,8 @@ HoptoadNotifier.configure do |config| # Internal Errbit errors are stored locally, but we need # to set a dummy API key so that HoptoadNotifier doesn't complain. config.api_key = "---------" + + # Don't log error that causes 404 page + config.ignore << "Mongoid::Errors::DocumentNotFound" end -- libgit2 0.21.2