mirror of
https://github.com/NixOS/nix.git
synced 2025-11-21 09:49:36 +01:00
remove unused extra json fields
This commit is contained in:
parent
2a19bf8619
commit
19cffc29c9
3 changed files with 0 additions and 34 deletions
|
|
@ -1364,7 +1364,6 @@ void LocalStore::verifyPath(const Path & pathS, const StringSet & store,
|
|||
auto state(_state.lock());
|
||||
invalidatePath(*state, path);
|
||||
} else {
|
||||
// TODO log as warning if repair successful??
|
||||
logError(
|
||||
ErrorInfo {
|
||||
.name = "Missing path with referrers",
|
||||
|
|
|
|||
|
|
@ -780,15 +780,6 @@ std::exception_ptr RemoteStore::Connection::processStderr(Sink * sink, Source *
|
|||
}
|
||||
|
||||
else if (msg == STDERR_NEXT)
|
||||
// TODO: is this really an ErrorInfo error? Seems like we're forwarding the
|
||||
// stderr output of the remote to current stderr/log
|
||||
// ErrorInfo gets lost in this scenario.
|
||||
// An alternative might be a logger on the remote that forwards ErrorInfo and etc.
|
||||
// logError(
|
||||
// ErrorInfo {
|
||||
// // .name = "Remote Store" TODO reasonable name.
|
||||
// .hint = hintfmt(chomp(readString(from)))
|
||||
// });
|
||||
printError(chomp(readString(from)));
|
||||
|
||||
else if (msg == STDERR_START_ACTIVITY) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue