Skip to content

Commit 2bd33bf

Browse files
davidrohrcuveland
authored andcommitted
Terminate in case we do not connect to FLPs, to mark the process as in error
1 parent 1144dce commit 2bd33bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/TfBuilder/TfBuilderRpc.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ void TfBuilderRpcImpl::startAcceptingTfs() {
204204
} else {
205205
EDDLOG_RL(10000, "TfBuilderRpc::Not enabling TfBuilder because some gRPC connections are not working. failed_cnt={}",
206206
getNumFailedRpcConnections());
207+
throw std::runtime_error("TfBuilder failed to connect to FLPs, exiting");
207208
}
208209
}
209210

0 commit comments

Comments
 (0)