How to use the logrocket.warn function in logrocket

To help you get started, we’ve selected a few logrocket examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github rlesniak / tind3r.com / src / stores / MatchStore.js View on Github external
data = data.filter((m) => {
      if (!m.person.name) {
        if (window.Bugsnag) {
          Bugsnag.notifyException(new Error('!m.person.name'), m.person);
        }

        LogRocket.warn('person.name', m.person);

        return true;
      }
      return m.person.name.toLowerCase().indexOf(this.filter.toLowerCase()) > -1;
    });

logrocket

JavaScript SDK for [LogRocket](https://logrocket.com/)

MIT
Latest version published 2 months ago

Package Health Score

68 / 100
Full package analysis