Skip to content

Commit

Permalink
chore: redirect users to the supportModal when implementation errors …
Browse files Browse the repository at this point in the history
…occur (#921)

* redirect users to the supportModal when implementation errors occur

* remove linting changes

* remove additional linting changes
  • Loading branch information
MarconLP authored Dec 7, 2023
1 parent 4292be6 commit 1a6dc92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export const _safewrap = function <F extends (...args: any[]) => 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
Expand Down

0 comments on commit 1a6dc92

Please sign in to comment.