mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 23:12:44 +01:00
ThreadPool: don't silently ignore non-std exceptions
Introduced in 8f6b347abd without explanation.
Throwing anything that's not that is a programming mistake that we don't want
to ignore silently. A crash would be ok, because that means we/they can fix
the offending throw.
This commit is contained in:
parent
16320f6d24
commit
fd8a4a86d9
1 changed files with 0 additions and 1 deletions
|
|
@ -119,7 +119,6 @@ void ThreadPool::doWork(bool mainThread)
|
|||
// Similarly expected.
|
||||
} catch (std::exception & e) {
|
||||
ignoreExceptionExceptInterrupt();
|
||||
} catch (...) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue