Skip to content

Commit

Permalink
add support link for all major errors
Browse files Browse the repository at this point in the history
  • Loading branch information
maidul98 committed Mar 2, 2023
1 parent a4074c9 commit aca6269
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli/packages/util/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit aca6269

Please sign in to comment.