examples: failing to init is a fatal err
@@ -35,7 +35,7 @@ void init_tensorflow(Tensorflow::Stub* stub) {
InitResponse response;
grpc::Status status = stub->InitTensorflow(&context, request, &response);
if (!status.ok()) {
- LOG(WARNING) << "Error: " << status.error_code() << ": " << status.error_message();
+ LOG(FATAL) << "Error: " << status.error_code() << ": " << status.error_message();
return;
}
LOG(INFO) << "Status: " << response.status();
