Skip to content

Commit 7314883

Browse files
committed
adjust warning message
1 parent 8edc1b2 commit 7314883

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/replay/src/integration.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { getCurrentHub } from '@sentry/core';
22
import type { BrowserClientReplayOptions, Integration } from '@sentry/types';
3-
import { dropUndefinedKeys, logger } from '@sentry/utils';
3+
import { dropUndefinedKeys } from '@sentry/utils';
44

55
import { DEFAULT_FLUSH_MAX_DELAY, DEFAULT_FLUSH_MIN_DELAY, MASK_ALL_TEXT_SELECTOR } from './constants';
66
import { ReplayContainer } from './replay';
@@ -219,7 +219,7 @@ function loadReplayOptionsFromClient(initialOptions: InitialReplayPluginOptions)
219219

220220
if (!opt) {
221221
// eslint-disable-next-line no-console
222-
console.warn('Replay is disabled because SDK options are not available');
222+
console.warn('SDK client is not available.');
223223
return finalOptions;
224224
}
225225

0 commit comments

Comments
 (0)