Skip to content

Commit

Permalink
fix debug exception
Browse files Browse the repository at this point in the history
  • Loading branch information
byewokko committed Apr 16, 2024
1 parent 9fd37dd commit e89f4b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seacatauth/credentials/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ async def list(self, session: SessionAdapter, search_params: generic.SearchParam
try:
provider = self.CredentialProviders[provider_id]
credentials.append(await provider.get(cid))
except None:
except KeyError:
L.info("Found an assignment of nonexisting credentials", struct_data={
"cid": cid, "role_ids": searched_roles, "tenant_ids": searched_tenants})

Expand Down

0 comments on commit e89f4b5

Please sign in to comment.