Skip to content

Gatsby plugin to add Rollbar error tracking to your site.

License

Notifications You must be signed in to change notification settings

oddcamp/gatsby-plugin-rollbar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gatsby-plugin-rollbar

Gatsby plugin to add Rollbar error tracking to your site.

Learn more about Rollbar here.

Install

npm install --save gatsby-plugin-rollbar

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: "gatsby-plugin-rollbar",
    options: {
      accessToken: "YOUR_ROLLBAR_ACCESS_TOKEN",
      // For all configuration options, see https://docs.rollbar.com/docs/rollbarjs-configuration-reference
      captureUncaught: true,
      captureUnhandledRejections: true,
      payload: {
        environment: "production"
      }
    }
  }
];

About

Gatsby plugin to add Rollbar error tracking to your site.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%