wfgydbu commented on issue #2957:
URL: https://github.com/apache/apisix/issues/2957#issuecomment-738503746


   I've tried to locate it by adding some `core.log.info(...)`
   
   Find the root statement is at 
https://github.com/apache/apisix/blob/master/apisix/core/etcd.lua#L188
   
   Trying to call `etcd_cli:set()` with key `/apisix/plugins` and value of 
plugins name list (mine is  `[{"name":"echo"}]`) and failed.
   
   the current logic `if not res` cannot detect this failure, because the 
`error` field stays inside the `res` body.


----------------------------------------------------------------
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:
[email protected]


Reply via email to