From aca62699207b91030ae8f578538642aff439695e Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Thu, 2 Mar 2023 00:00:31 -0500 Subject: [PATCH] add support link for all major errors --- cli/packages/util/log.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cli/packages/util/log.go b/cli/packages/util/log.go index 4c11322c24..d2bcbe6b03 100644 --- a/cli/packages/util/log.go +++ b/cli/packages/util/log.go @@ -20,6 +20,9 @@ func PrintErrorAndExit(exitCode int, err error, messages ...string) { } } + supportMsg := fmt.Sprintf("\n\nIf this issue continues, get support at https://infisical.com/slack") + fmt.Fprintln(os.Stderr, supportMsg) + os.Exit(exitCode) }