2

Mapping react js source map to bugsnag

bugsnag-source-maps upload-browser \
  --api-key YOUR_API_KEY_HERE \
  --app-version 1.2.3 \
  --base-url http://yourdomain.url/static/js/ \
  --directory build/static/js

try to upload source map using above command but whenever new error generated doesn't show exact line of error.

1 Answers1

1

Usually when this is not working it is because the base-url and/or app-version used in the above command does not exactly match the URL and/or app version reported in the event. Please ensure that the URL in the stackframe of the event exactly matches the URL for your uploaded source map. Please also ensure that the app version reported in the event (under the App tab) matches the app version for your uploaded source map.

Martijn Pieters
  • 1,048,767
  • 296
  • 4,058
  • 3,343
Bugsnag Support
  • 381
  • 1
  • 4