use deploy logging context for app creation logs (#952)

This commit is contained in:
bmc-msft
2021-06-02 12:15:47 -04:00
committed by GitHub
parent 60ae07c34f
commit 3d191c3c5d
2 changed files with 6 additions and 6 deletions

View File

@ -347,7 +347,7 @@ class Client:
not in str(err)
):
raise err
logging.warning(
logger.warning(
"creating service principal failed with an error that occurs "
"due to AAD race conditions"
)
@ -533,7 +533,7 @@ class Client:
"PrincipalNotFound" in as_repr
and "does not exist in the directory" in as_repr
):
logging.info("application principal not available in AAD yet")
logger.info("application principal not available in AAD yet")
if error:
raise error
else: