rpei2022 commented on a change in pull request #6622:
URL: https://github.com/apache/apisix/pull/6622#discussion_r828673271
##########
File path: apisix/api_router.lua
##########
@@ -42,6 +42,10 @@ function fetch_api_router()
core.log.debug("fetched api routes: ",
core.json.delay_encode(api_routes, true))
for _, route in ipairs(api_routes) do
+ if route.uri == nil then
+ break
Review comment:
> Would be better to add an error log?
good suggestion
--
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]