Skip to content

Cleanup fatalf usage#5528

Merged
MichaelEischer merged 2 commits into
restic:masterfrom
MichaelEischer:cleanup-fatalf-usage
Oct 1, 2025
Merged

Cleanup fatalf usage#5528
MichaelEischer merged 2 commits into
restic:masterfrom
MichaelEischer:cleanup-fatalf-usage

Conversation

@MichaelEischer

Copy link
Copy Markdown
Member

What does this PR change? What problem does it solve?

I found a few more creative usages of errors.Fatal. Clean those up and remove trailing newlines from fatal error messages.

Was the change previously discussed in an issue or on the forum?

Follow up to #5363 .

Checklist

  • I have added tests for all code changes.
  • I have added documentation for relevant changes (in the manual).
  • There's a new file in changelog/unreleased/ that describes the changes for our users (see template).
  • I'm done! This pull request is ready for review.

@konidev20 konidev20 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM! Thank you @MichaelEischer I missed these in my PR.

@MichaelEischer MichaelEischer left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

LGTM

@MichaelEischer MichaelEischer merged commit eb13789 into restic:master Oct 1, 2025
12 checks passed
@MichaelEischer MichaelEischer deleted the cleanup-fatalf-usage branch October 1, 2025 18:17
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