Comments (4)
Assigning to @getsentry/support for routing ⏲️
from sentry-javascript-bundler-plugins.
Hi @Lvovk!
I think the problem is much rather that there is no stack trace rather than the source code not being unminified with the uploaded source maps. Since you're using Sentry SaaS (sentry.io), can you post a link to the event in Sentry?
Furthermore, to debug this please:
- tell us your SDK version
- show your
Sentry.init
code - tell us how to reproduce this behaviour in a minimal reproduciton.
Or, ideally, provide a Stackblitz/GH repo or similar with a working minimal reproducible example. thanks!
from sentry-javascript-bundler-plugins.
Hi @Lms24 ! Thanks for the answear !
Link to the event: https://notsy-b-v.sentry.io/issues/5168873424/events/2fd0e174c105437196a0a3e053d5260e/
My SDK version is 7.106.0
My Sentry init looks like this (img 1)
How to reproduce:
- I use webpack plugin, which is suposed to load sourcemap to sentry and it seems to do it
- I have added mock errors (tried "Throw" experssions, syntax errors and ETC) inside my code and started the page
- I see those errors on sentry, but can't see the trace
from sentry-javascript-bundler-plugins.
I have added mock errors (tried "Throw" experssions, syntax errors and ETC) inside my code and started the page
I looked at the event you linked and I can confirm that the SDK did not send a stack trace to Sentry. How exactly are you throwing and capturing this error? Are you using Sentry.captureMessage
/Sentry.captureException
or are you simply doing something like throw('test string')
? Also where are you throwing the error? Any chance it's directly in a <script> tag? On button click?
Generally, the SDK should try to generate a stack trace, even if the value that's captured (e.g. just a string) doesn't have a stacktrace attached. So I'm wondering where things go wrong here.
As you can see, there are quite a few variables to debug this properly. I assume you're adding Sentry to a non-trivial application - any chance you can narrow it down to a more minimal example and post it as a stackblitz or GitHub repo?
from sentry-javascript-bundler-plugins.
Related Issues (20)
- Using the "filesToDeleteAfterUpload" plugin setting breaks source maps with esbuild plugin HOT 3
- Proxy for uploading sourcemaps? HOT 3
- reactComponentAnnotation. I use an unintended value for a prop. HOT 1
- Sentry Vite Plugin throws error while building the app: TypeError: Converting circular structure to JSON HOT 2
- error: release not found HOT 6
- sentry-vite + CDN sourcemaps not working HOT 30
- esbuild plugin's debug ID generation is not deterministic HOT 6
- Cannot read properties of undefined (reading "silent") HOT 2
- Should inject banner code after `use strict` HOT 1
- Sourcemap upload not working for `.mjs` files HOT 2
- esbuild plugin: You are attempting to use this endpoint too frequently HOT 4
- sentry-webpack-plugin + electron(-forge) breaks universal builds HOT 1
- Webpack plugin causes Typescript build errors when React component annotation is enabled HOT 1
- Add `bundlesizeOptimizations` options to docs
- Webpack plugin uploads source maps on development mode HOT 2
- VSC Debugger doesn't stop at breakpoint in TypeScript (ts) file but in Vue file
- Verbose console print from [sentry-vite-plugin] HOT 6
- Too many source-maps cause rate-limiting from the sentry API HOT 8
- Source Maps aren't mapped when working with docker HOT 5
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-javascript-bundler-plugins.