I cannot use it, `this.$sentry` is undefined

kamontat
0
kamontat
commented 3 months ago

Version

2.1.0

Reproduction link

https://google.com

Steps to reproduce

I cannot use it, this.$sentry is undefined,

What is expected ?

able to capture log

What is actually happening?

error

bug
0
DiederikvandenB
395
DiederikvandenB
commented 3 months ago

You are going to have to provide some code / more details, because without it’s difficult to help you out.

0
kamontat
0
kamontat
commented 3 months ago

I don't know what to provide. I just initial project with nuxt cli and include sentry as module in nuxt config file. and create simple button with html and trigger onClick using @click=method, then inside method is this.$sentry.<method>...

And it appear to error cannot call <method> because $sentry is undefined.

0
DiederikvandenB
395
DiederikvandenB
commented 3 months ago

I am closing this for cannot reproduce.

If you want help debugging your code, start by uploading it.

0
Informations
Bug ReportOpen
#c37 - Created 3 months ago