From dddcdce2899df435541dc5df887fea1e782a5bab Mon Sep 17 00:00:00 2001 From: gazebo Date: Fri, 8 Mar 2019 18:00:27 +0800 Subject: [PATCH] - AccessPlatformAPIWithRetry --- platformapi/platformapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformapi/platformapi.go b/platformapi/platformapi.go index 69a02fab..d8673e29 100644 --- a/platformapi/platformapi.go +++ b/platformapi/platformapi.go @@ -108,7 +108,7 @@ func AccessPlatformAPIWithRetry(client *http.Client, handleRequest func() *http. response, err := client.Do(request) baseapi.SugarLogger.Debugf("end AccessPlatformAPIWithRetry:%s do url:%v, request:%s", trackID, request.URL, getClonedData(request.URL, savedBuf)) if err != nil { - baseapi.SugarLogger.Debugf("AccessPlatformAPIWithRetry:%s client.Get return err:%v", err) + baseapi.SugarLogger.Debugf("AccessPlatformAPIWithRetry:%s client.Get return err:%v", trackID, err) err, ok := err.(net.Error) if ok && err.Timeout() && recoverableErrorRetryCount <= config.MaxRecoverableRetryCount { recoverableErrorRetryCount++