diff --git a/src/utils/token.py b/src/utils/token.py index e102f34..32b8ea3 100644 --- a/src/utils/token.py +++ b/src/utils/token.py @@ -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