sentry-javascript
sentry-javascript copied to clipboard
fix(core): server runtime captureException event level undefined
Before submitting a pull request, please take a look at our Contributing guidelines and verify:
- [x] If you've added code that should be tested, please add tests.
- [ ] Ensure your code lints and the test suite passes (
yarn lint) & (yarn test).
I found sentry/browser captureException sets the level of the event to error,
but server runtime captureException don't set event level.
Closes https://github.com/getsentry/sentry-javascript/issues/10588
@Lms24 I updated test snapshot. But, the filename and lineno have also been changed, is that okay?