Skip to content

Comments

Revert "libmain: Catch logger exceptions in handleExceptions"#14343

Merged
xokdvium merged 1 commit intomasterfrom
epipe-graceful
Oct 24, 2025
Merged

Revert "libmain: Catch logger exceptions in handleExceptions"#14343
xokdvium merged 1 commit intomasterfrom
epipe-graceful

Conversation

@xokdvium
Copy link
Contributor

Motivation

This reverts commit 90d1ff4.

The initial issue with EPIPE was solved in 9f68087. Now this patch does more bad than good by eating up boost::io::format_error that are bugs.

Context

#14236


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

This reverts commit 90d1ff4.

The initial issue with EPIPE was solved in 9f68087.
Now this patch does move bad than good by eating up boost::io::format_error that are
bugs.
@xokdvium xokdvium requested a review from edolstra as a code owner October 23, 2025 20:52
Copy link
Member

@cole-h cole-h left a comment

Choose a reason for hiding this comment

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

A user recently encountered this as well, and this does indeed fix it in this case (previously, literally 0 output, now, proper error about the hash being busted, as we eventually found out through manual investigation).

@xokdvium xokdvium added backport 2.31-maintenance Automatically creates a PR against the branch backport 2.32-maintenance Automatically creates a PR against the branch labels Oct 23, 2025
Copy link
Member

@Ericson2314 Ericson2314 left a comment

Choose a reason for hiding this comment

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

I'm down to at least try this. I sort of get a smell either way but didn't think about it too hard.

@xokdvium xokdvium added this pull request to the merge queue Oct 24, 2025
Merged via the queue into master with commit 04606d5 Oct 24, 2025
22 checks passed
@xokdvium xokdvium deleted the epipe-graceful branch October 24, 2025 23:28
@internal-nix-ci
Copy link

Successfully created backport PR for 2.31-maintenance:

@internal-nix-ci
Copy link

Successfully created backport PR for 2.32-maintenance:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 2.31-maintenance Automatically creates a PR against the branch backport 2.32-maintenance Automatically creates a PR against the branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants