[skip ci] logging tweak

This commit is contained in:
Brahim Hadriche committed 2025-06-19 11:05:13 -04:00
1 parent 8d74cb6e52
commit d115c2ad62
1 file changed
+3 -3
@@ -378,12 +378,12 @@ namespace HttpClient
LogInfo("Sending", m._method, m.urlTransfer.GetURL(), "ID:", m.urlTransfer.GetIdentity()) LogInfo("Sending", m._method, m.urlTransfer.GetURL(), "ID:", m.urlTransfer.GetIdentity())
#if DEBUG #if DEBUG
m._logCurlCommand = true LogDebug(`======== curl command ========\n${m.ToCurlCommand()}\n==============================`)
#end if #else
if m._logCurlCommand = true if m._logCurlCommand = true
LogInfo(`======== curl command ========\n${m.ToCurlCommand()}\n==============================`) LogInfo(`======== curl command ========\n${m.ToCurlCommand()}\n==============================`)
end if end if
#end if
if m._method = "POST" if m._method = "POST"
body = m._body body = m._body