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/12/04 01:54:30 UTC

[GitHub] [apisix] wfgydbu commented on issue #2957: bug: there is an error message when starting apisix 2.1

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:
users@infra.apache.org