Skip to content

Commit c2180a8

Browse files
committed
Add descriptive error message to GetTypeName
1 parent 3a5cb5d commit c2180a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Optimizely.Graph.Source.Sdk/Optimizely.Graph.Source.Sdk/SourceConfiguration/SourceConfigurationModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ private string GetTypeName(Type fieldType)
255255
return "[String]";
256256
}
257257

258-
throw new NotImplementedException();
258+
throw new NotImplementedException($"Property of type {fieldType.Name} is not assignable to any implemented types");
259259
}
260260
}
261261

0 commit comments

Comments
 (0)