mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +00: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
@ -119,7 +119,6 @@ void ThreadPool::doWork(bool mainThread)
|
||||
// Similarly expected.
|
||||
} catch (std::exception & e) {
|
||||
ignoreExceptionExceptInterrupt();
|
||||
} catch (...) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user