sentry-javascript icon indicating copy to clipboard operation
sentry-javascript copied to clipboard

fix(core): server runtime captureException event level undefined

Open Zih0 opened this issue 1 year ago • 1 comments

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

Zih0 avatar Feb 09 '24 13:02 Zih0

@Lms24 I updated test snapshot. But, the filename and lineno have also been changed, is that okay?

Zih0 avatar Feb 10 '24 03:02 Zih0