Skip to content

Commit

Permalink
fix java.util.IllegalFormatConversionException
Browse files Browse the repository at this point in the history
  • Loading branch information
heziai committed Sep 3, 2021
1 parent 98ab370 commit 1b1a86c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ private void handleFailedResult(ScanVertexResponse response, PartScanInfo partIn
freshLeader(spaceName, partInfo.getPart(), partResult.getLeader());
partInfo.setLeader(getLeader(partResult.getLeader()));
} else {
ErrorCode code = partResult.getCode();
int code = partResult.getCode().getValue();
LOGGER.error(String.format("part scan failed, error code=%d", code));
partScanQueue.dropPart(partInfo);
exceptions.add(new Exception(String.format("part scan, error code=%d", code)));
Expand Down

0 comments on commit 1b1a86c

Please sign in to comment.