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

support for boolean values in :ignore config key #48

Open
ktravers opened this issue Jan 24, 2019 · 0 comments
Open

support for boolean values in :ignore config key #48

ktravers opened this issue Jan 24, 2019 · 0 comments

Comments

@ktravers
Copy link

currently, to ignore all errors in a specific environment (such as :test or :dev), you set :ignore config to a simple function that returns true:

config :airbrakex,
  ignore: fn(_error) ->
    true
  end

it'd be more concise / convenient to allow users to set a boolean value here instead:

config :airbrakex, ignore: true

i have a branch open with the change. let me know if this is something you want to support, and i'll be happy to open a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant