You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following isn't a great user experience at all, and makes you scratch your head for quite a bit.
$ bundle init
Writing new Gemfile to /private/tmp/raven/Gemfile
$ echo "gem 'sentry-raven'" >> Gemfile
$ bundle
Fetching gem metadata from https://rubygems.org/..........
Fetching version metadata from https://rubygems.org/.
Resolving dependencies...
Using multipart-post 2.0.0
Using bundler 1.14.6
Installing faraday 0.12.1
Installing sentry-raven 2.4.0
Bundle complete! 1 Gemfile dependency, 4 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
$ catapp.rbrequire"raven"Raven.configuredo |config|
config.sanitize_data_for_request_methods=%w(PATCH)# Only send data for PATCH request methodconfig.processors -= [Raven::Processor::RequestMethodData]# Do this to always send request dataconfig.processors -= [Raven::Processor::Cookies]# Do this to send cookies by defaultend
$ bundle exec ruby app.rb
app.rb:4:in `block in <main>': undefined method `sanitize_data_for_request_methods=' for #<Raven::Configuration:0x007f9af990b3e8> (NoMethodError)
from /Users/dentarg/.gem/ruby/2.2.7/gems/sentry-raven-2.4.0/lib/raven/instance.rb:68:in `configure'
from /Users/dentarg/.rubies/ruby-2.2.7/lib/ruby/2.2.0/forwardable.rb:204:in `configure'
from app.rb:3:in `<main>'
The text was updated successfully, but these errors were encountered:
The following isn't a great user experience at all, and makes you scratch your head for quite a bit.
Using snippet from https://docs.sentry.io/clients/ruby/config/
The text was updated successfully, but these errors were encountered: