Skip to content

Commit

Permalink
Made it critical
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite committed Dec 4, 2023
1 parent 16eeef6 commit 134ef10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/posthog-core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 134ef10

Please sign in to comment.