fixing sso error handling

This commit is contained in:
afeiszli
2022-09-19 15:37:00 -04:00
parent d7517dab1c
commit f63b88db73
10 changed files with 42 additions and 22 deletions

View File

@@ -134,7 +134,7 @@ func Retrieve(filePath string) string {
// FatalLog - exits os after logging
func FatalLog(message ...string) {
fmt.Printf("[netmaker] Fatal: %s \n", MakeString(" ", message...))
fmt.Printf("[%s] Fatal: %s \n", program, MakeString(" ", message...))
os.Exit(2)
}