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_) {
|
for (const auto& stream : graph_output_streams_) {
|
||||||
stream->NotifyError();
|
stream->NotifyError();
|
||||||
}
|
}
|
||||||
|
for (const ::mediapipe::Status& error : errors_) {
|
||||||
|
LOG(ERROR) << error;
|
||||||
|
}
|
||||||
if (errors_.size() > kMaxNumAccumulatedErrors) {
|
if (errors_.size() > kMaxNumAccumulatedErrors) {
|
||||||
for (const ::mediapipe::Status& error : errors_) {
|
|
||||||
LOG(ERROR) << error;
|
|
||||||
}
|
|
||||||
LOG(FATAL) << "Forcefully aborting to prevent the framework running out "
|
LOG(FATAL) << "Forcefully aborting to prevent the framework running out "
|
||||||
"of memory.";
|
"of memory.";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user