Skip to content

Commit 22bae37

Browse files
committed
update logger warning
1 parent 08d3625 commit 22bae37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/baseclient.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export abstract class BaseClient<B extends Backend, O extends Options> implement
153153
*/
154154
public captureSession(session: Session): void {
155155
if (!this._isEnabled()) {
156-
logger.warn('SDK not enabled, will not send session.');
156+
logger.warn('SDK not enabled, will not capture session.');
157157
return;
158158
}
159159

@@ -490,7 +490,7 @@ export abstract class BaseClient<B extends Backend, O extends Options> implement
490490
const { beforeSend, sampleRate } = this.getOptions();
491491

492492
if (!this._isEnabled()) {
493-
return SyncPromise.reject(new SentryError('SDK not enabled, will not send event.'));
493+
return SyncPromise.reject(new SentryError('SDK not enabled, will not capture event.'));
494494
}
495495

496496
const isTransaction = event.type === 'transaction';

0 commit comments

Comments
 (0)