From 82350b8e19db3d5c0fc8ea06a6f6d08f62d5465b Mon Sep 17 00:00:00 2001 From: Patrick Peng Sun Date: Thu, 11 May 2017 02:21:10 +1000 Subject: [PATCH] not using Fatal for common error --- outMsg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/outMsg.go b/outMsg.go index 4296f2a..f89d407 100644 --- a/outMsg.go +++ b/outMsg.go @@ -178,7 +178,7 @@ func buildNewsMsg(ToUserName, title, description string, articles []Article) (ms for _, a := range articles { if count >= 8 { err := errors.New("too many articles, only take first 8") - log.Fatal(err) + log.Println(err) break } s := buildArticleItem(a)