gatsby-plugin-sentry icon indicating copy to clipboard operation
gatsby-plugin-sentry copied to clipboard

Collect errors in the build stage

Open arthurzenika opened this issue 4 years ago • 5 comments

We're trying out this plugin and from what we understand from the doc, this enables collection of errors in the "frontend" part of gatsby.

Any chance of getting the functionality for the build step ? (for example an incorrectly formated markdown file that doesn't get included in the site) Or is this is already the case ? and we've missed something ?

arthurzenika avatar Jul 09 '20 12:07 arthurzenika

The plugin is kinda dead and nobody is actually around to solving problem.

h1eutran avatar Aug 13 '20 01:08 h1eutran

@GuillouTran Thanks for taking the time to reply to this issue

arthurzenika avatar Aug 13 '20 07:08 arthurzenika

@arthurlogilab no prob, but if you really need the use of sentry, please check out the official sdk plugin of sentry for gatsby:

https://www.gatsbyjs.com/plugins/@sentry/gatsby/

h1eutran avatar Aug 13 '20 16:08 h1eutran

Also, I am opening an issue on Gatsby again

h1eutran avatar Aug 13 '20 16:08 h1eutran

Second the recommendation to switch to the official sentry plugin. Resolved an issue for me with this one.

Simple fix, change the entry in gatsby-config.js to

 {
      resolve: "@sentry/gatsby",
      options: {
          dsn: GATSBY_SENTRY_DSN,
          tracesSampleRate: 1,
      }
    },

jlev avatar Sep 29 '20 17:09 jlev