From 9dbb058cd7ce3cef825f97d2b016c2de57d9082c Mon Sep 17 00:00:00 2001 From: kerem Date: Sat, 27 Mar 2021 04:19:11 +0300 Subject: [PATCH] show Result Code if huawei push fails (#559) Co-authored-by: Viktor Radchenko <1641795+vikmeup@users.noreply.github.com> --- gorush/notification_hms.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gorush/notification_hms.go b/gorush/notification_hms.go index 6eb68c8..b0ea0f5 100644 --- a/gorush/notification_hms.go +++ b/gorush/notification_hms.go @@ -209,7 +209,7 @@ Retry: } else { isError = true StatStorage.AddHuaweiError(int64(1)) - LogAccess.Debug("Huwaei Send Notification is failed!") + LogAccess.Debug("Huawei Send Notification is failed! Code: " + res.Code) } if isError && retryCount < maxRetry {