mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 16:23:02 +00:00
Show why GC socket connection was refused
Co-authored-by: John Ericson <git@JohnEricson.me>
This commit is contained in:
parent
3859b42597
commit
faf87b51f7
@ -141,7 +141,7 @@ void LocalStore::addTempRoot(const StorePath & path)
|
||||
/* The garbage collector may have exited or not
|
||||
created the socket yet, so we need to restart. */
|
||||
if (e.errNo == ECONNREFUSED || e.errNo == ENOENT) {
|
||||
debug("GC socket connection refused");
|
||||
debug("GC socket connection refused: %s", e.msg())
|
||||
fdRootsSocket->close();
|
||||
goto restart;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user