Comments (2)
Thanks @jonesphillip! Very much appreciated. That does solve the problem.
It could be a nice addition to clarify a bit further (on the readme I suppose). I ended up using both, and additionally added the SDK to my Netlify function lambdas as well.
Reading over the readme again after your comment, it makes sense. I can see that the readme says what the plugin does, but I think it was still confusing (to me anyways as an outsider looking in) about what it does not do.
Maybe a line like:
This plugin does not:
- handle error reporting etc for your applications. You should still use the appropriate SDK for your applications.
or
This plugin is intended to be used alongside, not replace, our additional SDKs for your application (such as @sentry/browser or @sentry/node).
I might be in the minority here, so definitely not necessary to add. It looks like I am the first person to have the issue so maybe just see if it comes up again.
Thanks for your help!
from sentry-netlify-build-plugin.
@camsloanftc good question. You should use both. The Sentry SDK for Gatsby handles the instrumenting of your code with Sentry. The Netlify Build Plugin handles letting Sentry know about your source maps and deploys.
Closing this out, but let me know if you have any further questions.
from sentry-netlify-build-plugin.
Related Issues (20)
- Not taking SENTRY_ORG or SENTRY_PROJECT from environment variables HOT 3
- feat: set SENTRY_RELEASE env HOT 1
- [docs] It would be nice to document how to use with Self-hosted HOT 1
- Ability to skip plugin for deploy previews HOT 1
- Handle wrong API token HOT 1
- Gitlab - SentryCLI failed to set commits HOT 23
- JavaScript heap out of memory HOT 2
- Consider switching to `onSuccess` from `onPostBuild`
- Improve error handling of releases creation
- Unknown inputs for plugin "@sentry/netlify-build-plugin": "deployPreviews" HOT 2
- Prevents Deploy if Sentry Down HOT 4
- Option to read sentryRelease from package file (e.g. package.json) HOT 3
- Option to delete sourcemaps after upload HOT 1
- Error: Unknown repo jasikpark/live-collegemusic-co-uk/ HOT 3
- Option to suppress verbose output
- Add dist env
- source maps have the incorrect path, need different option HOT 1
- SENTRY_RELEASE and SENTRY_ENVIRONMENT undefined HOT 3
- Error: SentryCLI failed to set commits HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sentry-netlify-build-plugin.