Skip to content

Commit 80970bf

Browse files
authored
Add else schema type value (#26858)
1 parent e1b80cf commit 80970bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sdk/ml/azure-ai-ml/azure/ai/ml/_exception_helper.py

+2
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ def format_create_validation_error(
229229
schema_type = AzureFileSchema
230230
elif entity_type == ErrorTarget.ENVIRONMENT:
231231
schema_type = EnvironmentSchema
232+
else:
233+
schema_type = ""
232234

233235
resolutions += " " + REF_DOC_ERROR_MESSAGE_MAP.get(schema_type, "")
234236
else:

0 commit comments

Comments
 (0)