Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass additional parameters #3

Closed
adis-io opened this issue Jul 12, 2016 · 2 comments
Closed

Pass additional parameters #3

adis-io opened this issue Jul 12, 2016 · 2 comments

Comments

@adis-io
Copy link

adis-io commented Jul 12, 2016

For example, for Airbrake:

Airbrake.configure do |config|
  config.api_key = '1234deadbeef...'
end

begin
  params = {
     # params that you pass to a method that can throw an exception
  }
  my_unpredicable_method(params)
rescue => e
  Airbrake.notify_or_ignore(
   e,
   parameters: params,
   cgi_data: ENV.to_hash
  )
end
@ankane
Copy link
Owner

ankane commented Jul 24, 2016

Hey @adisos, makes sense. There's a bit of work involved to do this, but I'm happy to accept a PR for it. You'd need to:

  1. Add an option to safely to take the additional parameters
  2. Add an option to errbase to report the additional parameters for each integration

@ankane
Copy link
Owner

ankane commented Aug 7, 2018

Closing out feature requests on GitHub Issues

@ankane ankane closed this as completed Aug 7, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Dec 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants