commit f8fed3dd83272abc5a5ed57080006a92a6463b8e
parent 156326503d27a66397f9ce7a04bebb925fb34697
Author: Joel-Haeberli <haebu@rubigen.ch>
Date: Mon, 3 Jun 2024 18:37:12 +0200
fix: enhance logging
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/c2ec/http-util.go b/c2ec/http-util.go
@@ -174,6 +174,7 @@ func HttpPost[T any, R any](
if err != nil {
return nil, -1, err
}
+ LogInfo("http-util", string(bodyEncoded))
req, err := http.NewRequest(HTTP_POST, url, bytes.NewBuffer(bodyEncoded))
if err != nil {