log the errors always
This commit is contained in:
parent
412ab42d1f
commit
2ccb30d378
|
@ -934,10 +934,10 @@ void CalculatorGraph::RecordError(const ::mediapipe::Status& error) {
|
|||
for (const auto& stream : graph_output_streams_) {
|
||||
stream->NotifyError();
|
||||
}
|
||||
if (errors_.size() > kMaxNumAccumulatedErrors) {
|
||||
for (const ::mediapipe::Status& error : errors_) {
|
||||
LOG(ERROR) << error;
|
||||
}
|
||||
if (errors_.size() > kMaxNumAccumulatedErrors) {
|
||||
LOG(FATAL) << "Forcefully aborting to prevent the framework running out "
|
||||
"of memory.";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user