getsentry / sentry-webpack-plugin

Repo moved to https://github.com/getsentry/sentry-javascript-bundler-plugins. Please open any issues/PRs there.
MIT License
662 stars 116 forks source link

Sentry doesnt show real error. #392

Closed ricardoaraujo-hotmart closed 1 year ago

ricardoaraujo-hotmart commented 2 years ago

Environment

How do you use Sentry? I use @sentry/webpack-plugin to send erros to sentry and my application use react.

Which SDK and version? @sentry/webpack-plugin: 1.19.0 react : 18.2.0

Steps to Reproduce

I set up @sentry/webpack-plugin properties

1_Config_plugin

I simulated an error in my application in react

2_Simulate_error

I saw that the error in sentry is wrong, because dont show me real error, but an error first frame

3_sentry_error

Validated sourcemap

4_sourcemap_explain 5_Sentry_sourcemap

Expected Result

I need show me error in Sentry in line that happend, according teste1() is not defined.

Actual Result

Show wrong error in the first frame (inicial app component)

lforst commented 1 year ago

Sorry for not getting back to you. I am closing this because I am in the process of cleaning up the issue stream in this repository. Feel free to open a new issue in case you are still running into this problem - ideally with a reproduction example. Thanks!