1.0.6 • Published 8 years ago
raven-js-exposed-null v1.0.6
Exposed Null Checker
This plugin allows Raven-js to report when and where a null type may have been rendered into the DOM. By default, it looks for occurrences of: "NaN", "undefined", and "object Object".
why? Because javascript is perfectly happy to let you do this:
without raising exceptions.
Usage:
npm i raven-js-exposed-null -S
var Raven = require('raven-js') ;
Raven
.config('https://YOURDSN@sentry.io/*******')
.install();
var exposedNullCheck = require('raven-js-exposed-null');
exposedNullCheck(Raven);