Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/vue/src/tracing.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getActiveSpan, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, startInactiveSpan } from '@sentry/browser';
import type { Span } from '@sentry/core';
import { logger, timestampInSeconds } from '@sentry/core';
import { debug, timestampInSeconds } from '@sentry/core';
import { DEFAULT_HOOKS } from './constants';
import { DEBUG_BUILD } from './debug-build';
import type { Hook, Operation, TracingOptions, ViewModel, Vue } from './types';
Expand Down Expand Up @@ -73,7 +73,7 @@ export const createTracingMixins = (options: Partial<TracingOptions> = {}): Mixi
// eg. mount => ['beforeMount', 'mounted']
const internalHooks = HOOKS[operation];
if (!internalHooks) {
DEBUG_BUILD && logger.warn(`Unknown hook: ${operation}`);
DEBUG_BUILD && debug.warn(`Unknown hook: ${operation}`);
continue;
}

Expand Down
4 changes: 2 additions & 2 deletions packages/vue/test/integration/VueIntegration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/

import type { Client } from '@sentry/core';
import { logger } from '@sentry/core';
import { debug } from '@sentry/core';
import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it, vi } from 'vitest';
import { createApp } from 'vue';
import * as Sentry from '../../src';
Expand Down Expand Up @@ -35,7 +35,7 @@ describe('Sentry.VueIntegration', () => {
warnings = [];
loggerWarnings = [];

vi.spyOn(logger, 'warn').mockImplementation((message: unknown) => {
vi.spyOn(debug, 'warn').mockImplementation((message: unknown) => {
loggerWarnings.push(message);
});

Expand Down
Loading