From 1a6dc9255d5b7e9e57ed5048e2096d7b9b49ed3b Mon Sep 17 00:00:00 2001 From: Marcus Hof <13001502+MarconLP@users.noreply.github.com> Date: Thu, 7 Dec 2023 13:36:59 +0100 Subject: [PATCH] chore: redirect users to the supportModal when implementation errors occur (#921) * redirect users to the supportModal when implementation errors occur * remove linting changes * remove additional linting changes --- src/utils/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/index.ts b/src/utils/index.ts index 78e107bcf..6a3ee2109 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -181,7 +181,7 @@ export const _safewrap = function any = (...args: // @ts-ignore return f.apply(this, args) } catch (e) { - logger.critical('Implementation error. Please turn on debug and contact support@posthog.com.') + logger.critical('Implementation error. Please turn on debug mode and open a ticket on https://app.posthog.com/home#panel=support%3Asupport%3A.') logger.critical(e) } } as F