This repository is a work in progress
The main purpose of this repository is to visualize the differences between the Sentry JS SDK version 7 and version 8. Those example applications can also be used as a reference for using the JS SDKs.
- Change the
APP
variable ofutils/event-proxy-server/src/event-proxy-server.ts
to the app folder name you want to test.- Example:
apps/express
->APP = 'express'
- Example:
- Make sure you have a folder named like the app in
utils/event-proxy-server/payload-files
.- Example:
apps/express
->utils/event-proxy-server/payload-files/express
- Example:
- Run
yarn start:proxy-server
. - Run
yarn start:[app]
likestart:express
. - Check the "Disable Cache" option in the DevTools Network tab of your browser.
- Open the following URLs in your browser.
- The json file will be generated.
- http://localhost:3030/test-success
- http://localhost:3030/test-error
- http://localhost:3030/test-param-success/1337
- http://localhost:3030/test-param-error/1337
- http://localhost:3030/test-success-manual
- http://localhost:3030/test-error-manual
- http://localhost:3030/test-local-variables-caught
- http://localhost:3030/test-local-variables-uncaught