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

Adding language to the context when using Airbrakex.Plug #28

Open
coryc5 opened this issue Jan 9, 2018 · 0 comments
Open

Adding language to the context when using Airbrakex.Plug #28

coryc5 opened this issue Jan 9, 2018 · 0 comments

Comments

@coryc5
Copy link

coryc5 commented Jan 9, 2018

Hello,

We use Airbrakex.Plug for tracking our Elixir errors and we would like to include in the context of the notice that this is an Elixir error. When the Plug calls Notify.notify/2, it does not pass a context, so it seems that this is the function head that gets hit:

https://github.com/fazibear/airbrakex/blob/master/lib/airbrakex/notifier.ex#L38-L40

We would like in those cases for the context language to be set to "Elixir". Would you be open to a PR that makes that change? Or would you prefer that be configurable in some way?

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

No branches or pull requests

1 participant