leslie-tsang commented on code in PR #9669:
URL: https://github.com/apache/apisix/pull/9669#discussion_r1233427173
##########
apisix/plugins/body-transformer.lua:
##########
@@ -123,6 +128,8 @@ local function transform(conf, body, typ, ctx)
core.log.error(err, ", body=", body)
return nil, 400, err
end
+ else
+ ngx.log(ngx.WARN, "no input format to parse ", typ, " body")
Review Comment:
Please use `core.log.error` instead
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]