You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "wonchar (via GitHub)" <gi...@apache.org> on 2023/04/02 13:03:20 UTC

[GitHub] [apisix] wonchar opened a new issue, #9218: bug: function _M.run_plugin , if a plugin has error, the request will be error

wonchar opened a new issue, #9218:
URL: https://github.com/apache/apisix/issues/9218

   ### Current Behavior
   
                   local ok, code, body = pcall(phase_func, conf, api_ctx)
                   if not ok then
                       core.log.error(plugins[i].name, " is error ", phase)
                       if api_ctx.plugin_err == nil or api_ctx.plugin_err == "" then
                           api_ctx.plugin_err = plugins[i].name .. "#" .. phase
                       else
                           api_ctx.plugin_err = api_ctx.plugin_err .. "," .. plugins[i].name .. "#" .. phase
                       end
                   end
   
   ### Expected Behavior
   
   _No response_
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   source code : plugin.lua
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   
   apisix 3.2


-- 
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: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] bug: function _M.run_plugin , if a plugin has error, the request will be error [apisix]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #9218: bug:  function _M.run_plugin , if a plugin has error, the request will be error
URL: https://github.com/apache/apisix/issues/9218


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] bug: function _M.run_plugin , if a plugin has error, the request will be error [apisix]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9218:
URL: https://github.com/apache/apisix/issues/9218#issuecomment-2067625334

   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] Sn0rt commented on issue #9218: bug: function _M.run_plugin , if a plugin has error, the request will be error

Posted by "Sn0rt (via GitHub)" <gi...@apache.org>.
Sn0rt commented on issue #9218:
URL: https://github.com/apache/apisix/issues/9218#issuecomment-1517334236

   can you share the path of this file or to create a unit test for validation of this issues ?


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] bug: function _M.run_plugin , if a plugin has error, the request will be error [apisix]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9218:
URL: https://github.com/apache/apisix/issues/9218#issuecomment-2039398864

   This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org