monkeyDluffy6017 commented on code in PR #10645:
URL: https://github.com/apache/apisix/pull/10645#discussion_r1439138443


##########
apisix/core/ctx.lua:
##########
@@ -274,6 +274,15 @@ do
                     end
                 end
 
+            elseif core_str.has_prefix(key, "uri_arg_") then
+                if t._ctx.curr_req_matched then
+                    local arg_key = (sub_str(key, 9))
+                    val = t._ctx.curr_req_matched[arg_key]
+                    if val == nil then
+                        log.warn("failed to fetch uri argument: ", arg_key)

Review Comment:
   The reason why the place you pointed add a warn log is because the the error 
returned needs to be handled, but you don't have an error to handle, right?
   
![image](https://github.com/apache/apisix/assets/9354193/547bd062-300c-4be0-9ffd-ce0429edbc98)
    



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