From be2ad6130bff6a9722f1c794871cbf756db78c20 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 f3a0f4fa00..788841a7c2 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