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

Errbit host is always example.com on Slack notifications #1404

Open
smddzcy opened this issue Dec 24, 2018 · 3 comments
Open

Errbit host is always example.com on Slack notifications #1404

smddzcy opened this issue Dec 24, 2018 · 3 comments
Labels

Comments

@smddzcy
Copy link

smddzcy commented Dec 24, 2018

I'm using the Airbrake JS client and setting ERRBIT_HOST parameter doesn't work.

process.env.ERRBIT_HOST = 'someHost';
process.env.ERRBIT_PROTOCOL = 'https';

const airbrake = new AirbrakeClient({
  host: 'someHost',
  projectId: 1,
  projectKey: 'someKey',
  environment: process.env.NODE_ENV,
});

...

airbrake.notify(someError);

I always get a URL that starts with http://errbit.example.com/apps/... on my Slack notifications. What can I do about this?

@laasem
Copy link

laasem commented Dec 24, 2018

I believe you also need to set the host in the object passed to new AirbrakeClient()

@smddzcy
Copy link
Author

smddzcy commented Dec 24, 2018

I already do that. I give the same host as parameter, otherwise I wouldn’t get the errors.

@rud rud added the bug label Dec 27, 2018
@Kulgar
Copy link

Kulgar commented Apr 12, 2019

Same error here...

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

No branches or pull requests

4 participants