Skip to content

Commit 549315c

Browse files
chore: remove unnecessary debug log (#12033)
1 parent 0efdb8e commit 549315c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apisix/plugins/ai-aws-content-moderation.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function _M.rewrite(conf, ctx)
126126
core.log.error("failed to send request to ", endpoint, ": ", err)
127127
return HTTP_INTERNAL_SERVER_ERROR, err
128128
end
129-
core.log.warn("dibag: ", core.json.encode(res))
129+
130130
local results = res.body and res.body.ResultList
131131
if type(results) ~= "table" or core.table.isempty(results) then
132132
return HTTP_INTERNAL_SERVER_ERROR, "failed to get moderation results from response"

0 commit comments

Comments
 (0)