Unverified Commit 75f7a960 authored by John Wang's avatar John Wang Committed by GitHub

feat: ignore validate failed error log (#256)

parent ccd80653
...@@ -110,6 +110,8 @@ class AzureProvider(BaseProvider): ...@@ -110,6 +110,8 @@ class AzureProvider(BaseProvider):
if missing_model_ids: if missing_model_ids:
raise ValidateFailedError("Please add deployments for '{}'.".format(", ".join(missing_model_ids))) raise ValidateFailedError("Please add deployments for '{}'.".format(", ".join(missing_model_ids)))
except ValidateFailedError as e:
raise e
except AzureAuthenticationError: except AzureAuthenticationError:
raise ValidateFailedError('Validation failed, please check your API Key.') raise ValidateFailedError('Validation failed, please check your API Key.')
except (requests.ConnectionError, requests.RequestException): except (requests.ConnectionError, requests.RequestException):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment