Skip to content

Commit

Permalink
fix java.util.IllegalFormatConversionException (#342)
Browse files Browse the repository at this point in the history
* fix java.util.IllegalFormatConversionException

* format code
  • Loading branch information
heziai authored Sep 6, 2021
1 parent 98ab370 commit 5fa8ce5
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 5fa8ce5

Please sign in to comment.