Revert "Merge pull request #3558 from LnL7/ssh-ng-stderr"
This reverts commit3ebfbecdd1
, reversing changes made toc089c52d5f
. https://github.com/NixOS/nix/pull/3558
This commit is contained in:
parent
909b4a8820
commit
fd4911269f
|
@ -779,10 +779,8 @@ std::exception_ptr RemoteStore::Connection::processStderr(Sink * sink, Source *
|
|||
return std::make_exception_ptr(Error(status, error));
|
||||
}
|
||||
|
||||
else if (msg == STDERR_NEXT) {
|
||||
string s = chomp(readString(from));
|
||||
printMsg(lvlVomit, "stderr %s", s);
|
||||
}
|
||||
else if (msg == STDERR_NEXT)
|
||||
printError(chomp(readString(from)));
|
||||
|
||||
else if (msg == STDERR_START_ACTIVITY) {
|
||||
auto act = readNum<ActivityId>(from);
|
||||
|
|
|
@ -63,16 +63,6 @@ public:
|
|||
writeToStderr(prefix + filterANSIEscapes(fs.s, !tty) + "\n");
|
||||
}
|
||||
|
||||
void result(ActivityId act, ResultType type, const std::vector<Field> & fields) override
|
||||
{
|
||||
if (type == resBuildLogLine || type == resPostBuildLogLine) {
|
||||
assert(0 < fields.size());
|
||||
assert(fields[0].type == Logger::Field::tString);
|
||||
auto lastLine = fields[0].s;
|
||||
log(lvlInfo, lastLine);
|
||||
}
|
||||
}
|
||||
|
||||
void startActivity(ActivityId act, Verbosity lvl, ActivityType type,
|
||||
const std::string & s, const Fields & fields, ActivityId parent)
|
||||
override
|
||||
|
|
Loading…
Reference in a new issue