Support raising LoginError when checking for min api version

This commit is contained in:
allegroai 2023-11-07 16:34:43 +02:00
parent 3d6ab41a7a
commit ecdeb2d0a2

View File

@ -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