question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

airbrake.addReporter is not a function

See original GitHub issue

Previously, I was adding a custom airbrake reporter by doing:

var AirbrakeClient = require('airbrake-js');
var airbrake = new AirbrakeClient({ projectId: 12345, projectKey: 'hi there' });
airbrake.addReporter(...);

In airbrake 1.1.0, this seems to be failing… was that intended? 😃

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
halecommented, Jun 22, 2018

@paulewog is a changelog maintained for each new release? I didn’t realize this feature was removed – thanks. Edit: Oops sorry, wrong @! /cc @vmihailenco

1reaction
paulewogcommented, Apr 27, 2018

It looks like it is still referenced on the readme 😃

We were using it to log out the error locally in addition to sending it to airbrake. I haven’t looked for a different way to do it yet. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Publish typescript definitions · Issue #348 · airbrake ... - GitHub
The library is written in typescript, but clients using this library can't use the definitions (.d.ts files) since they're not published.
Read more >
Setup Airbrake-js with a ReactJS app and webpack
1 Answer 1 ; window.airbrake = new ; document.head.insertBefore ; // Remove it for production or use an enviroment conditional airbrake.addReporter ...
Read more >
airbrake-js - npm
If you prefer not to host the library yourself, airbrake-js is available ... var startApp = function() { ... addReporter(function(notice) {.
Read more >
JS in Rails - Airbrake Docs
Installing airbrake-js in a Rails application. ... addFilter(function(notice) { notice.context.environment = "<%= Rails.env %>"; return notice; }); ...
Read more >
ember-cli-airbrake
If airbrake isn't configured the airbrake service uses the Ember. ... addReporter(reporter) -- refer to the airbrake client js documentation ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found