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));
|
return std::make_exception_ptr(Error(status, error));
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (msg == STDERR_NEXT) {
|
else if (msg == STDERR_NEXT)
|
||||||
string s = chomp(readString(from));
|
printError(chomp(readString(from)));
|
||||||
printMsg(lvlVomit, "stderr %s", s);
|
|
||||||
}
|
|
||||||
|
|
||||||
else if (msg == STDERR_START_ACTIVITY) {
|
else if (msg == STDERR_START_ACTIVITY) {
|
||||||
auto act = readNum<ActivityId>(from);
|
auto act = readNum<ActivityId>(from);
|
||||||
|
|
|
@ -63,16 +63,6 @@ public:
|
||||||
writeToStderr(prefix + filterANSIEscapes(fs.s, !tty) + "\n");
|
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,
|
void startActivity(ActivityId act, Verbosity lvl, ActivityType type,
|
||||||
const std::string & s, const Fields & fields, ActivityId parent)
|
const std::string & s, const Fields & fields, ActivityId parent)
|
||||||
override
|
override
|
||||||
|
|
Loading…
Reference in a new issue