@dollarshaveclub/rollbar-check-ignore
v1.40.0
Published
[![CircleCI](https://circleci.com/gh/dollarshaveclub/rollbar-check-ignore/tree/master.svg?style=svg&circle-token=450c63d3b501a1f4d8cf83802d105b5f755360eb)](https://circleci.com/gh/dollarshaveclub/rollbar-check-ignore/tree/master) [![codecov](https://codec
Downloads
11
Keywords
Readme
Rollbar checkIgnore
This implements Rollbar's checkIgnore function. Previous error checking was done with Sentry and was removed.
Implementation
This script can be added via script tags or inline via templates.
Script Tags
standalone.min.js
can be added as a script tag, either src
-ed or inlined.
<script>
_rollbarConfig = {
}
</script>
<script src="rollbar-check-ignore/dist/standalone.min.js" async></script>
<script>
// rollbar snippet
</script>
As this script is will become more complicated, async loading of the script is supported.
Inline via Templates
An inline function can be used withing templating system to add this script.
<script>
_rollbarConfig = {
checkIgnore: {{ rollbar-check-ignore/dist/index.min.js }}
}
</script>