From 3f16d711dc6bac6eff3507aeb73a7707654555d0 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sat, 26 Mar 2016 23:47:51 +0800 Subject: [PATCH] fix error message. Signed-off-by: Bo-Yi Wu --- notification.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/notification.go b/notification.go index f25361a..69b8dc1 100644 --- a/notification.go +++ b/notification.go @@ -161,7 +161,8 @@ func pushNotificationIos(req RequestPushNotification) bool { res, err := ApnsClient.Push(notification) if err != nil { - log.Println("There was an error", err) + log.Println("There was an error: ", err) + return false }