diff --git a/controller/relay.go b/controller/relay.go index 5fed1b44..a24b7c5b 100644 --- a/controller/relay.go +++ b/controller/relay.go @@ -77,6 +77,8 @@ func Relay(c *gin.Context) { "type": "one_api_error", }, }) + channelId := c.GetInt("channel_id") + common.SysError(fmt.Sprintf("Relay error: %s, channel id: %d", err.Error(), channelId)) if common.AutomaticDisableChannelEnabled { channelId := c.GetInt("channel_id") channelName := c.GetString("channel_name")