Skip to content

Commit

Permalink
more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
meln1k committed Nov 16, 2023
1 parent a7c58f3 commit f95aca5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fixbackend/cloud_accounts/account_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ async def list_accounts(
accounts.extend(response["Accounts"])
if next_token is None:
break
except Exception:
except Exception as ex:
log.info("Failed to list accounts: %s", ex)
return {}

return {CloudAccountId(account["Id"]): CloudAccountName(account["Name"]) for account in accounts}
Expand Down

0 comments on commit f95aca5

Please sign in to comment.