Skip to content

Commit

Permalink
filters: filter context payload
Browse files Browse the repository at this point in the history
A user reported that it's not possible to filter context/user. It's a
reasonable request given that the user information has been moved to
context recently.
  • Loading branch information
kyrylo committed Mar 2, 2016
1 parent f34a388 commit 75a4f3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ Airbrake Ruby Changelog

### master

* Started filtering the context payload
([#55](https://github.com/airbrake/airbrake-ruby/pull/55))

### [v1.1.0][v1.1.0] (February 25, 2016)

* Fixed bug in Ruby < 2.2, when trying to encode components while filtering
Expand Down
2 changes: 1 addition & 1 deletion lib/airbrake-ruby/filters.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ module Filters
##
# @return [Array<Symbol>] parts of a Notice's payload that can be modified
# by various filters
FILTERABLE_KEYS = [:environment, :session, :params].freeze
FILTERABLE_KEYS = [:environment, :session, :params, :context].freeze
end
end

0 comments on commit 75a4f3b

Please sign in to comment.