raven-js-exposed-null

1.0.6 • Public • Published

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: spotify-undefined NaN

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);

nyt-NaN paypall-undefined

Readme

Keywords

none

Package Sidebar

Install

npm i raven-js-exposed-null

Weekly Downloads

7

Version

1.0.6

License

ISC

Last publish

Collaborators

  • maxbittker