From 3c0288009843b053f49d72120e1df5900d11e7b8 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Fri, 9 Jun 2023 19:30:40 +0800 Subject: [PATCH] ctx --- pkg/common/http/http_client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/common/http/http_client.go b/pkg/common/http/http_client.go index 2227a3438..482a9d680 100644 --- a/pkg/common/http/http_client.go +++ b/pkg/common/http/http_client.go @@ -87,6 +87,7 @@ func callBackPostReturn(ctx context.Context, url, command string, input interfac v.Set(constant.CallbackCommand, command) url = url + "?" + v.Encode() b, err := Post(ctx, url, nil, input, callbackConfig.CallbackTimeOut) + log.ZError(ctx, "post", err, "b", string(b)) if err != nil { if callbackConfig.CallbackFailedContinue != nil && *callbackConfig.CallbackFailedContinue { log.ZWarn(ctx, "callback failed but continue", err, "url", url)