Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug catalog output should output request and response #1434

Closed
mkenigs opened this issue May 9, 2024 · 1 comment
Closed

Debug catalog output should output request and response #1434

mkenigs opened this issue May 9, 2024 · 1 comment
Assignees
Labels
greenkeeping team-cli Tickets relevant to the flox CLI team
Milestone

Comments

@mkenigs
Copy link
Contributor

mkenigs commented May 9, 2024

For debugging, we'll want to see the JSON we send to and receive from the catalog server.

I'm not sure if it would work or if there's a better way, but I think we may be able to use debug! in a pre_hook and post_hook. See https://github.com/oxidecomputer/progenitor/blob/0aeb3a723ec515561a93ab38ae4da5cbf071306f/example-macro/src/main.rs#L8-L10

@mkenigs mkenigs added the team-cli Tickets relevant to the flox CLI team label May 9, 2024
@mkenigs mkenigs added this to the Catalog 3 milestone May 9, 2024
@dcarley dcarley self-assigned this May 10, 2024
@mkenigs
Copy link
Contributor Author

mkenigs commented May 21, 2024

It's not in the debug output, but we can see responses as documented in #1468

@mkenigs mkenigs closed this as completed May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
greenkeeping team-cli Tickets relevant to the flox CLI team
Projects
None yet
Development

No branches or pull requests

2 participants