Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
JNSimba committed Aug 5, 2024
1 parent 1f35517 commit 7cae6a2
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,10 @@ public RespContent stopLoad() throws IOException {
Preconditions.checkState(pendingLoadFuture != null);
try {
return handlePreCommitResponse(pendingLoadFuture.get());
} catch (NoRouteToHostException nex){
} catch (NoRouteToHostException nex) {
LOG.error("Failed to connect, cause ", nex);
throw new DorisRuntimeException("No Route to Host to " + hostPort + ", exception: " + nex);
throw new DorisRuntimeException(
"No Route to Host to " + hostPort + ", exception: " + nex);
} catch (Exception e) {
throw new DorisRuntimeException(e);
}
Expand Down

0 comments on commit 7cae6a2

Please sign in to comment.