LogRocket
Integrate your Airbrake project with LogRocket
On this page
Description
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.
Configuration
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
can be found here.