Skip to content

Commit

Permalink
fix: error while trying to log table in ai-content-moderation plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Revolyssup committed Feb 25, 2025
1 parent 535bfcf commit b5006df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apisix/plugins/ai-content-moderation.lua
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function _M.rewrite(conf, ctx)
})

if not res then
core.log.error("failed to send request to ", provider, ": ", err)
core.log.error("failed to send request to ", endpoint, ": ", err)
return HTTP_INTERNAL_SERVER_ERROR, err
end

Expand Down

0 comments on commit b5006df

Please sign in to comment.