Skip to content

Commit

Permalink
more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
meln1k committed Jul 12, 2024
1 parent b2f9440 commit 32c044a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fixbackend/cloud_accounts/azure_subscription_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ async def create_user_app_registration(
if created_app.app_id is None:
log.error("Failed to create app registration: app_id is None")
return None
log.info("created app registration")
log.info(f"created app registration, app_id: {created_app.app_id}")

# create a secret for the app registration
password_credential = AddPasswordPostRequestBody(
Expand All @@ -199,7 +199,7 @@ async def create_user_app_registration(
end_date_time=utc() + (timedelta(days=365) * 10), # 10 years
)
)
log.info("crated password_credential")
log.info("created password_credential")
secrets = await graph_client.applications.by_application_id(created_app.app_id).add_password.post(
password_credential
)
Expand Down

0 comments on commit 32c044a

Please sign in to comment.