mirror of
https://github.com/NixOS/nix
synced 2025-06-29 14:53:16 +02:00
printMsg(lvlError, ...) -> printError(...) etc.
This commit is contained in:
parent
4036185cb4
commit
c55bf085eb
30 changed files with 140 additions and 140 deletions
|
@ -87,7 +87,7 @@ void ThreadPool::workerEntry()
|
|||
if (state->exception) {
|
||||
if (!dynamic_cast<Interrupted*>(&e) &&
|
||||
!dynamic_cast<ThreadPoolShutDown*>(&e))
|
||||
printMsg(lvlError, format("error: %s") % e.what());
|
||||
printError(format("error: %s") % e.what());
|
||||
} else {
|
||||
state->exception = std::current_exception();
|
||||
work.notify_all();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue