Version
@nuxtjs/sentry: 4.3.5
nuxt: 2.14.6
Sentry configuration
The default, client and server enabled
Reproduction Link
Not sure how to provide a reproducible example.
I'll just describe the steps to reproduce, it's pretty straight-forward:
Steps to reproduce
- Create a page component
- Throw a
new Error('...') in both data and fetch
- Visit the page and observe that the error from
data is reported, while the error from fetch isn't
What is Expected? What is actually happening?
The error from fetch should be reported automatically. It's not.
I realize there's a section on asyncData in the readme, but I'm not sure if it is also meant to be about the fetch method. Seems like maybe the readme is not up to date, because one can just use the new fetch instead of asyncData
Version
@nuxtjs/sentry: 4.3.5
nuxt: 2.14.6
Sentry configuration
The default, client and server enabled
Reproduction Link
Not sure how to provide a reproducible example.
I'll just describe the steps to reproduce, it's pretty straight-forward:
Steps to reproduce
new Error('...')in bothdataandfetchdatais reported, while the error fromfetchisn'tWhat is Expected? What is actually happening?
The error from
fetchshould be reported automatically. It's not.I realize there's a section on
asyncDatain the readme, but I'm not sure if it is also meant to be about thefetchmethod. Seems like maybe the readme is not up to date, because one can just use the new fetch instead ofasyncData