eric-maynard commented on code in PR #2154:
URL: https://github.com/apache/polaris/pull/2154#discussion_r2223144445


##########
client/python/cli/polaris_cli.py:
##########
@@ -65,6 +67,8 @@ def execute(args=None):
             command = Command.from_options(options)
             command.execute()
         else:
+            if options.debug:
+                PolarisCli._enable_api_request_logging()

Review Comment:
   I think we should do this after the command is parsed but before it's 
executed... or, if possible, in the middle of command execution. As the logic 
is right now it looks like there are cases where we'd emit the logging but not 
actually make the request.



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