1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-02 21:51:50 +02:00

Improve error message if the daemon worker fails to start

This commit is contained in:
Eelco Dolstra 2014-10-31 09:36:09 +01:00
parent 1cdbb9d724
commit e389f4ea55
2 changed files with 2 additions and 3 deletions

View file

@ -565,7 +565,7 @@ static void processConnection(bool trusted)
to.flush();
} catch (Error & e) {
stopWork(false, e.msg());
stopWork(false, e.msg(), GET_PROTOCOL_MINOR(clientVersion) >= 8 ? 1 : 0);
to.flush();
return;
}