From 134ef1044c167d75794042361d2f6ae7f85a48be Mon Sep 17 00:00:00 2001 From: Ben White Date: Mon, 4 Dec 2023 15:50:26 +0100 Subject: [PATCH] Made it critical --- src/posthog-core.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/posthog-core.ts b/src/posthog-core.ts index b78792088..61b3b4302 100644 --- a/src/posthog-core.ts +++ b/src/posthog-core.ts @@ -1284,7 +1284,7 @@ export class PostHog { } if (isDistinctIdStringLike(new_distinct_id)) { - logger.error( + logger.critical( `The string "${new_distinct_id}" was set in posthog.identify which indicates an error. This ID should be unique to the user and not a hardcoded string.` ) return