aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2020-05-12 12:09:12 -0600
committerBen Burdette <bburdette@gmail.com>2020-05-12 12:09:12 -0600
commit19cffc29c995af8fb155f2764664f0b079879b4f (patch)
tree010deb5487988a8f047f6f4438f1a5d39adfdc53 /src/libstore
parent2a19bf86197083e17d9b35596c21e3c1b3f4a170 (diff)
remove unused extra json fields
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/local-store.cc1
-rw-r--r--src/libstore/remote-store.cc9
2 files changed, 0 insertions, 10 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index 1f16a22b1..63a825af0 100644
--- a/src/libstore/local-store.cc
+++ b/src/libstore/local-store.cc
@@ -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",
diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc
index 7c50c1065..cc336e460 100644
--- a/src/libstore/remote-store.cc
+++ b/src/libstore/remote-store.cc
@@ -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) {