diff --git a/relay/image_handler.go b/relay/image_handler.go index d94323e9c..58cc8b4f0 100644 --- a/relay/image_handler.go +++ b/relay/image_handler.go @@ -210,6 +210,7 @@ func logImageError(c *gin.Context, info *relaycommon.RelayInfo, request *dto.Ima other["request_path"] = c.Request.URL.Path } other["is_image_error"] = true + other["error_message"] = errMsg model.RecordConsumeLog(c, info.UserId, model.RecordConsumeLogParams{ ChannelId: info.ChannelId,