LoicMahieu / gatsby-plugin-sentry

Gatsby plugin to add Sentry error tracking to your site.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gatsby-plugin-sentry

Gatsby plugin to add Sentry error tracking to your site.

Install

npm install --save @loicmahieu/gatsby-plugin-sentry

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: "@loicmahieu/gatsby-plugin-sentry",
    options: {
      dsn: "YOUR_SENTRY_DSN_URL",
      // Any sentry client settings, see https://docs.sentry.io/clients/node/config/#optional-settings
    }
  }
];

About

Gatsby plugin to add Sentry error tracking to your site.

License:MIT License


Languages

Language:JavaScript 100.0%