Skip to content

Commit ed688f9

Browse files
committed
Update exception to use MemberAccessor
When updating the `SetCollectionValueAsync()` method to use the new `MemberAccessor` (385bfec), I missed the exception message. Oops. (This still compiled, but it should go through `MemberAccessor` for consistency.)
1 parent 9705824 commit ed688f9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

OnTopic/Mapping/TopicMappingService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -750,8 +750,8 @@ MappedTopicCache cache
750750

751751
Contract.Assume(
752752
targetList,
753-
$"The target list type, '{configuration.Property.PropertyType}', could not be properly constructed, as required to " +
754-
$"map the '{configuration.Property.Name}' property on the '{target?.GetType().Name}' object."
753+
$"The target list type, '{configuration.MemberAccessor.Type}', could not be properly constructed, as required to " +
754+
$"map the '{configuration.MemberAccessor.Name}' property on the '{target?.GetType().Name}' object."
755755
);
756756

757757
/*------------------------------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)