refactor: log params and channel params

refactor: log params and channel params
This commit is contained in:
Xiangyuan-liu committed 2025-07-07 14:26:37 +08:00
1 parent 46ebea917e
commit db98c0f4b1
27 files changed
+314 -173

No files matched your search

+2 -2
View File
@@ -106,8 +106,8 @@ func exchangeJwtForAccessToken(signedJWT string, info *relaycommon.RelayInfo) (s
var client *http.Client
var err error
if proxyURL, ok := info.ChannelSetting["proxy"]; ok {
client, err = service.NewProxyHttpClient(proxyURL.(string))
if info.ChannelSetting.Proxy != "" {
client, err = service.NewProxyHttpClient(info.ChannelSetting.Proxy)
if err != nil {
return "", fmt.Errorf("new proxy http client failed: %w", err)
}