#Sentry Readable Stacktrace without .js.map files?

14 messages · Page 1 of 1 (latest)

glacial hazel
#

Hello

Is it possible to have a readable stack trace in Sentry without pushing .js.map files on production?
I'm using it with react and setup is with Sentry Wizard

regal bane
glacial hazel
#

So I don't need to have it on both sides?

regal bane
#

No, if you upload your Source Maps directly to Sentry in your build process you can discard the .map files in your deployment so they are not publicly accesible.

glacial hazel
#

I already made it like in the first link but I don't see proper error in Sentry. Better to say I see an error but I don't see a code

regal bane
#

No code at all?

#

Or do you do see minified code?

glacial hazel
#

No code at all. I see minified files in static folder but then its empty
Also there is button to Unminify Code but I need to have im compressed

regal bane
#

I see minified files in static folder but then its empty
This sounds like a problem with the build process if your build files are empty.

Also there is button to Unminify Code but I need to have im compressed
What button are you talking about?

glacial hazel
#

Like this

#

At the top right is Unminify Code button

regal bane
#

Yes, if you click that Sentry will tell you what is going wrong

#

That button helps you unminify the code inside Sentry