8000 Use TTY output for errors. by wlynch · Pull Request #87 · sigstore/gitsign · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Use TTY output for errors. #87

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

Merged
merged 1 commit into from
Jun 29, 2022
Merged

Use TTY output for errors. #87

merged 1 commit into from
Jun 29, 2022

Conversation

wlynch
Copy link
Member
@wlynch wlynch commented Jun 29, 2022

Summary

This lets us use user TTYs to output errors / panics directly to the
user instead of them getting lost to stderr. Unfortunately if there is
not a TTY available (this is common for CI runners - incl GitHub Actions
by default) then the GITSIGN_LOG variable is still required for debug
output.

Signed-off-by: Billy Lynch billy@chainguard.dev

Ticket Link

n/a

Release Note

Errors will now be output to the user TTY directly if available.

@wlynch wlynch requested a review from imjasonh June 29, 2022 17:29
This lets us use user TTYs to output errors / panics directly to the
user instead of them getting lost to stderr. Unfortunately if there is
not a TTY available (this is common for CI runners - incl GitHub Actions
by default_ then the GITSIGN_LOG variable is still required for debug
output.

Signed-off-by: Billy Lynch <billy@chainguard.dev>
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.

2 participants
0