From beb994417f69cf1dbb197e904477f4fbb39f2677 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sat, 5 Oct 2019 16:13:14 +0300 Subject: [PATCH] Slightly more descriptive error --- gocheese.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gocheese.go b/gocheese.go index b27df8c..9035e99 100644 --- a/gocheese.go +++ b/gocheese.go @@ -432,7 +432,7 @@ func main() { for _, credentials := range strings.Split(strings.TrimRight(string(passwd), "\n"), "\n") { splitted := strings.Split(credentials, ":") if len(splitted) != 2 { - log.Fatal("Wrong auth format") + log.Fatal("Wrong login:password format") } passwords[splitted[0]] = splitted[1] } -- 2.44.0