From 69300eb55376c2fb5000646d09dd861a818823cf Mon Sep 17 00:00:00 2001 From: Michael Sharp Date: Mon, 27 Sep 2021 11:55:33 -0700 Subject: [PATCH] Added type name to exception message. --- .../PermutationFeatureImportanceExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.ML.Transforms/PermutationFeatureImportanceExtensions.cs b/src/Microsoft.ML.Transforms/PermutationFeatureImportanceExtensions.cs index f3a0f4fa002..788841a7c2d 100644 --- a/src/Microsoft.ML.Transforms/PermutationFeatureImportanceExtensions.cs +++ b/src/Microsoft.ML.Transforms/PermutationFeatureImportanceExtensions.cs @@ -731,7 +731,7 @@ private static Type GetImplementedIPredictionTransformer(Type type) } } - throw new ArgumentException($"Type IPredictionTransformer not implemented by provided type", nameof(type)); + throw new ArgumentException($"Type IPredictionTransformer not implemented by provided type, {type}", nameof(type)); } #endregion