rsnext/examples/with-sentry-simple/pages/server
Weston Thayer dc28e5b706 Example update: with-sentry-simple (#8684)
* Update to capture server exceptions and more

- Adds test cases for several server and client-side exceptions
- Allows capturing more server-side exceptions by overriding _error.js and using Sentry.captureException() within
- Use @sentry/node on the server
- Rely on Next.js's React Error Boundary instead of creating our own in _app.js

* Update test notes

Found some differences while testing in production

* Remove accidental mount throw on test 8

* Add note about server-side source maps

* Linting fixes
2019-09-17 11:43:51 +02:00
..
test1.js Example update: with-sentry-simple (#8684) 2019-09-17 11:43:51 +02:00
test2.js Example update: with-sentry-simple (#8684) 2019-09-17 11:43:51 +02:00
test3.js Example update: with-sentry-simple (#8684) 2019-09-17 11:43:51 +02:00
test4.js Example update: with-sentry-simple (#8684) 2019-09-17 11:43:51 +02:00