Integrate LogRocket with Airbrake

Use LogRocket in your JavaScript application? Integrating Airbrake with LogRocket allows you to view the specific LogRocket session for the errors in your Airbrake project.

All of this can be done by using your Airbrake notifier’s addFilter method.

Copy and paste this snippet into your JavaScript Airbrake config:

airbrake.addFilter(function(notice) {
  notice.context.sessionURL = LogRocket.sessionURL;
  return notice;
});

More info on using addFilter