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

mcap recover: print status message to stderr instead of stdout #1289

Merged
merged 3 commits into from
Dec 12, 2024

Conversation

jtbandes
Copy link
Member

Changelog

Fixed a bug in mcap recover which would produce an invalid file when redirecting stdout to a file.

Docs

None

Description

Status message now goes to stderr instead of stdout.

Also fixed another nearby line which looked wrong, it was using Fprintln with %w but Fprintln doesn't accept format strings. https://pkg.go.dev/fmt#Fprintln

@jtbandes jtbandes requested a review from james-rms as a code owner December 12, 2024 17:56
Copy link

linear bot commented Dec 12, 2024

@jtbandes
Copy link
Member Author

Fixing CI in #1290

@jtbandes jtbandes merged commit 4948ad4 into main Dec 12, 2024
23 checks passed
@jtbandes jtbandes deleted the jacob/fg-9791-mcap-recover-produces-invalid-file branch December 12, 2024 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants