Skip to content

Commit

Permalink
Merge pull request #845 from airbrake/optional-filters
Browse files Browse the repository at this point in the history
generators/airbrake_initializer: mention optional filters
  • Loading branch information
kyrylo committed May 8, 2018
2 parents 5d2755b + 510acae commit c2cb315
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/generators/airbrake_initializer.rb.erb
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@ end
# https://github.com/airbrake/airbrake#requestbodyfilter
# Airbrake.add_filter(Airbrake::Rack::RequestBodyFilter.new)

# Attaches thread & fiber local variables along with general thread information.
# Airbrake.add_filter(Airbrake::Filters::ThreadFilter.new)

# Attaches loaded dependencies to the notice object
# (under context/versions/dependencies).
# Airbrake.add_filter(Airbrake::Filters::DependencyFilter.new)

# If you want to convert your log messages to Airbrake errors, we offer an
# integration with the Logger class from stdlib.
# https://github.com/airbrake/airbrake#logger
Expand Down

0 comments on commit c2cb315

Please sign in to comment.