We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b3c85d commit f64a41fCopy full SHA for f64a41f
indra/llcommon/llleap.cpp
@@ -188,6 +188,17 @@ class LLLeapImpl: public LLLeap
188
<< childout.peek(0, peeklen) << "..." << LL_ENDL;
189
}
190
191
+ // Handle any remaining stderr data (partial lines) the same way as we do
192
+ // for stdout: log it.
193
+ LLProcess::ReadPipe& childerr(mChild->getReadPipe(LLProcess::STDERR));
194
+ if (childerr.size())
195
+ {
196
+ LLProcess::ReadPipe::size_type
197
+ peeklen((std::min)(LLProcess::ReadPipe::size_type(50), childerr.size()));
198
+ LL_WARNS("LLLeap") << "Final stderr " << childerr.size() << " bytes: "
199
+ << childerr.peek(0, peeklen) << "..." << LL_ENDL;
200
+ }
201
+
202
// Kill this instance. MUST BE LAST before return!
203
delete this;
204
return false;
0 commit comments