Skip to content

Commit

Permalink
fix: error capture for missing keycloak client
Browse files Browse the repository at this point in the history
Co-authored-by: Nightknight3000 <[email protected]>
  • Loading branch information
antidodo and Nightknight3000 committed Nov 6, 2024
1 parent 79abf68 commit 682a814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/token.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def delete_keycloak_client(analysis_id: str) -> None:
response.raise_for_status()
try:
uuid = response.json()[0]['id']
except KeyError:
except (KeyError, IndexError):
print('Client not found')
return

Expand Down

0 comments on commit 682a814

Please sign in to comment.