add support link for all major errors

This commit is contained in:
Maidul Islam
2023-03-02 00:00:31 -05:00
parent a4074c9687
commit aca6269920

View File

@@ -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)
}