From 68a2a49d07bc2a91a804a7d74f1082fc1b9b9078 Mon Sep 17 00:00:00 2001 From: kurehajime Date: Wed, 27 Mar 2019 21:07:15 +0900 Subject: [PATCH] change error message change authentication error message. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 4e4caa0..4871782 100644 --- a/main.go +++ b/main.go @@ -85,7 +85,7 @@ func main() { api := slack.New(token) _, err := api.AuthTest() if err != nil { - fmt.Println("ERROR: the token you used is not valid...") + fmt.Println("ERROR: authentication failed.(" + err.Error() + ")") os.Exit(2) }