mirror of
https://github.com/clearml/clearml
synced 2025-01-31 00:56:57 +00:00
Support raising LoginError when checking for min api version
This commit is contained in:
parent
3d6ab41a7a
commit
ecdeb2d0a2
@ -768,6 +768,9 @@ class Session(TokenManager):
|
||||
except MissingConfigError:
|
||||
if raise_error and not ENV_IGNORE_MISSING_CONFIG.get():
|
||||
raise
|
||||
except LoginError:
|
||||
if raise_error:
|
||||
raise
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user