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

Use stderr instead of stdout for ui error writer #268

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

4kord
Copy link
Contributor

@4kord 4kord commented Jul 9, 2024

I would expect error message to go to stderr when returning exit code 1 if migration fails

ui.Error(err.Error())

If it's a breaking change or it is intended, you can close this PR

@rubenv
Copy link
Owner

rubenv commented Jul 10, 2024

No, that's fine, as I've mentioned elsewhere: the CLI output should not be considered API.

@rubenv rubenv merged commit 17cb6ad into rubenv:master Jul 10, 2024
5 checks passed
@4kord 4kord deleted the ui-stderr-error-writer branch July 10, 2024 09:43
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