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/angular/src/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import {
import type { Client, Integration } from '@sentry/core';
import {
applySdkMetadata,
debug,
dedupeIntegration,
functionToStringIntegration,
inboundFiltersIntegration,
logger,
} from '@sentry/core';
import { IS_DEBUG_BUILD } from './flags';

Expand Down Expand Up @@ -68,7 +68,7 @@ function checkAndSetAngularVersion(): void {
if (angularVersion) {
if (angularVersion < ANGULAR_MINIMUM_VERSION) {
IS_DEBUG_BUILD &&
logger.warn(
debug.warn(
`This Sentry SDK does not officially support Angular ${angularVersion}.`,
`This SDK only supports Angular ${ANGULAR_MINIMUM_VERSION} and above.`,
"If you're using lower Angular versions, check the Angular Version Compatibility table in our docs: https://docs.sentry.io/platforms/javascript/guides/angular/#angular-version-compatibility.",
Expand Down
4 changes: 2 additions & 2 deletions packages/angular/src/tracing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
startInactiveSpan,
} from '@sentry/browser';
import type { Integration, Span } from '@sentry/core';
import { logger, stripUrlQueryAndFragment, timestampInSeconds } from '@sentry/core';
import { debug, stripUrlQueryAndFragment, timestampInSeconds } from '@sentry/core';
import type { Observable } from 'rxjs';
import { Subscription } from 'rxjs';
import { filter, tap } from 'rxjs/operators';
Expand Down Expand Up @@ -75,7 +75,7 @@ export class TraceService implements OnDestroy {
tap(navigationEvent => {
if (!instrumentationInitialized) {
IS_DEBUG_BUILD &&
logger.error('Angular integration has tracing enabled, but Tracing integration is not configured');
debug.error('Angular integration has tracing enabled, but Tracing integration is not configured');
return;
}

Expand Down
Loading