Closed meinenieuwland closed 1 year ago
I can't quite reproduce this, to be honest.
How do the generated .nuxt/sentry.client.js
and .nuxt/sentry.server.js
files look like for you?
I've tested this again today. And I can't reproduce it. I'm sorry to have wasted you time then 😞
Version
@nuxtjs/sentry: 7.1.11 nuxt: 2.15.8
Sentry configuration
Reproduction Link
-
Steps to reproduce
-
What is Expected?
context.$sentry
should be available inside Nuxt plugins, when the Sentry "disabled" configuration option istrue
.What is actually happening?
Locally we set
logSentryErrors
tofalse
. Before 7.1.11context.$sentry
was available inside nuxt plugins. But you would get this warning:As of 7.1.11 this isn't the case anymore.
context.$sentry
isundefined
.