airbrake.addReporter is not a function
See original GitHub issuePreviously, 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:
- Created 5 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@paulewog is a changelog maintained for each new release? I didn’t realize this feature was removed – thanks. Edit: Oops sorry, wrong @! /cc @vmihailenco
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. 😃