Skip to content

Commit a002181

Browse files
authored
Don't write error message when retry check new created service principal (#3645)
1 parent 1400c0b commit a002181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Utils/azuretools-core/src/com/microsoft/azuretools/authmanage/srvpri/SrvPriManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ private static void checkArtifact(Reporter<String> fileReporter, Path filePath)
250250
fileReporter.report(String.format("Failed to check cred file -retry limit %s has reached, error: %s", RETRY_QNTY, e.getMessage()));
251251
throw e;
252252
}
253-
fileReporter.report(String.format("Failed, will retry in %s seconds, error: %s", SLEEP_SEC, e.getMessage()));
253+
LOGGER.info(String.format("Failed %d/%d, will retry in %s seconds, error: %s", retry_count, RETRY_QNTY, SLEEP_SEC, e.getMessage()));
254254
try {
255255
Thread.sleep(SLEEP_SEC * 1000);
256256
} catch (InterruptedException e1) {

0 commit comments

Comments
 (0)