Skip to content

Commit

Permalink
exception
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaochen-zhou committed Dec 18, 2024
1 parent 8be7032 commit 7c1de46
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +302,15 @@ public static List<PartitionDefinition> findPartitions(
httpPost.setEntity(stringEntity);
resStr = send(dorisSourceConfig, httpPost, logger);
break;
} catch (DorisConnectorException e) {
} catch (Exception e) {
if (i == feNodesNum - 1) {
throw new DorisConnectorException(
DorisConnectorErrorCode.REST_SERVICE_FAILED, e);
}
log.error(
"Find partition error for feNode: {} with exception: {}",
feNodes.get(i),
e.getMessage());
}
}

Expand Down

0 comments on commit 7c1de46

Please sign in to comment.