Skip to content

Commit

Permalink
Merge pull request #538 from glaszig/patch-1
Browse files Browse the repository at this point in the history
suggest Rails.env.local? in ignore_if block
  • Loading branch information
smartinez87 authored Mar 12, 2024
2 parents 2d87c69 + 2719206 commit 8f04a8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ExceptionNotification.configure do |config|
# Adds a condition to decide when an exception must be ignored or not.
# The ignore_if method can be invoked multiple times to add extra conditions.
# config.ignore_if do |exception, options|
# not Rails.env.production?
# Rails.env.local?
# end

# Ignore exceptions generated by crawlers
Expand Down

0 comments on commit 8f04a8b

Please sign in to comment.