You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/03/03 01:01:41 UTC

[GitHub] [incubator-apisix] membphis commented on issue #1181: bug: coroutine.wrap:20: API disabled in the context of log_by_lua error in Batch Processor

membphis commented on issue #1181: bug: coroutine.wrap:20: API disabled in the context of log_by_lua error in Batch Processor
URL: https://github.com/apache/incubator-apisix/issues/1181#issuecomment-593711676
 
 
   In jsonschema, the compiled Lua code is generated by using yield, but the yield operation is not supported in log_phase.
   
   I suggest modifying the https://github.com/iresty/jsonschema implementation to avoid using the yield method.
   
   https://github.com/iresty/jsonschema/blob/ddd76d719cb102a0db2c44fe207745a9c3e53452/lib/jsonschema.lua#L141

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services