From 2c0d66d7310c45314321a7ec8f9d11a1a06dc3bd Mon Sep 17 00:00:00 2001 From: Diondra Peck <16376603+diondrapeck@users.noreply.github.com> Date: Mon, 17 Oct 2022 09:35:35 -0700 Subject: [PATCH] Add else schema type value --- sdk/ml/azure-ai-ml/azure/ai/ml/_exception_helper.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/ml/azure-ai-ml/azure/ai/ml/_exception_helper.py b/sdk/ml/azure-ai-ml/azure/ai/ml/_exception_helper.py index 5d849e6fe01c..944bdc90ccab 100644 --- a/sdk/ml/azure-ai-ml/azure/ai/ml/_exception_helper.py +++ b/sdk/ml/azure-ai-ml/azure/ai/ml/_exception_helper.py @@ -229,6 +229,8 @@ def format_create_validation_error( schema_type = AzureFileSchema elif entity_type == ErrorTarget.ENVIRONMENT: schema_type = EnvironmentSchema + else: + schema_type = "" resolutions += " " + REF_DOC_ERROR_MESSAGE_MAP.get(schema_type, "") else: