Skip to content

Commit

Permalink
examples: failing to init is a fatal err
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddrysdale committed Jul 1, 2020
1 parent b8997b9 commit 9679f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/tensorflow/client/tensorflow.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 9679f79

Please sign in to comment.