mirror of
https://github.com/clearml/clearml
synced 2025-02-12 07:35:08 +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:
|
except MissingConfigError:
|
||||||
if raise_error and not ENV_IGNORE_MISSING_CONFIG.get():
|
if raise_error and not ENV_IGNORE_MISSING_CONFIG.get():
|
||||||
raise
|
raise
|
||||||
|
except LoginError:
|
||||||
|
if raise_error:
|
||||||
|
raise
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user