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

feat: set tracing to output to stderr #138

Merged
merged 4 commits into from
Oct 22, 2024
Merged

feat: set tracing to output to stderr #138

merged 4 commits into from
Oct 22, 2024

Conversation

cdunster
Copy link
Contributor

@cdunster cdunster commented Oct 21, 2024

Summary

As reported in issue #137, the output of the url command is supposed to just be the connection_url. This PR sets the tracing output to stderr to keep stdout clean of logs.

Closes #137

TODO:

  • Add some tests to make sure the url command outputs correctly on stdout.
  • CHANGELOG(s) updated with appropriate info

@cdunster cdunster self-assigned this Oct 21, 2024
Previously, the error was caught, printed, and ignored so the command
always exits with a success (exit code `0`).
@cdunster cdunster marked this pull request as ready for review October 22, 2024 13:26
@cdunster cdunster requested review from neonphog and a team October 22, 2024 13:26
Copy link
Collaborator

@neonphog neonphog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice 👍

@cdunster cdunster merged commit 462e1e5 into main Oct 22, 2024
14 checks passed
@cdunster cdunster deleted the tracing-to-stderr branch October 22, 2024 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tracing is outputted to stdout which causes an issue with the url command
2 participants