aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/remote-store.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/remote-store.cc')
-rw-r--r--src/libstore/remote-store.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc
index cc336e460..7c50c1065 100644
--- a/src/libstore/remote-store.cc
+++ b/src/libstore/remote-store.cc
@@ -780,6 +780,15 @@ 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) {