fazibear / airbrakex

Elixir client for the Airbrake service.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Errbit compatibility

clekstro opened this issue · comments

It would be nice to be able to configure the endpoint one is hitting, as some organizations have their own Errbit instances running privately. You'd currently have to maintain a private fork of this repo to make that work. I'd be happy to submit a PR.

Sure, I've looked at airbrake-js source and find this piece of code:

url = "#{opts.host}/api/v3/projects/#{opts.projectId}/create-notice?key=#{opts.projectKey}"

Is this #2 enough to work with errbit ?

Can you add airbrakex from this branch to your mix.exs and check if it works ?

Sure, I can have a look a little later. I left a comment on the commit, as I'm not sure it's currently compatible with our Errbit URL.

Released!