okaybase commented on a change in pull request #4830:
URL: https://github.com/apache/apisix/pull/4830#discussion_r690035100



##########
File path: apisix/plugins/limit-count.lua
##########
@@ -184,11 +184,11 @@ function _M.access(conf, ctx)
             return conf.rejected_code
         end
 
-        core.log.error("failed to limit req: ", err)
+        core.log.error("failed to limit count: ", err)
         if conf.allow_degradation then
             return
         end
-        return 500, {error_msg = "failed to limit count: " .. err}
+        return 500, {error_msg = "..."}

Review comment:
       okay, thanks~ done~




-- 
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]


Reply via email to