File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
packages/nuxt/src/runtime Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 11import type { ClientOptions , Context } from '@sentry/core' ;
2- import { consoleSandbox } from '@sentry/core' ;
2+ import { logger } from '@sentry/core' ;
33import { captureException , getClient , getTraceMetaTags } from '@sentry/core' ;
44import type { VueOptions } from '@sentry/vue/src/types' ;
55import type { CapturedErrorContext } from 'nitropack' ;
@@ -39,10 +39,7 @@ export function addSentryTracingMetaTags(head: NuxtRenderHTMLContext['head'], de
3939
4040 if ( metaTags ) {
4141 if ( debug ) {
42- consoleSandbox ( ( ) => {
43- // eslint-disable-next-line no-console
44- console . log ( '[Sentry] Adding Sentry tracing meta tags to HTML page:' , metaTags ) ;
45- } ) ;
42+ logger . log ( '[Sentry] Adding Sentry tracing meta tags to HTML page:' , metaTags ) ;
4643 }
4744 head . push ( metaTags ) ;
4845 }
You can’t perform that action at this time.
0 commit comments