Skip to content

Commit a474dd5

Browse files
committed
(accounts, python api) Improve erroring check robustness
1 parent 056c945 commit a474dd5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • libraries/cloudharness-common/cloudharness/auth

libraries/cloudharness-common/cloudharness/auth/keycloak.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def is_uuid(s):
9090
try:
9191
uuid.UUID(s)
9292
return True
93-
except ValueError:
93+
except:
9494
return False
9595

9696

0 commit comments

Comments
 (0)