Bugsnag

Integrating LogRocket with Bugsnag

Add a LogRocket session recording URL to every BugSnag exception report.

bugsnag({
  beforeSend: function (report) {
    report.updateMetaData('LogRocket', {
      sessionURL: LogRocket.sessionURL,
    });
  }
});