Skip to content

Commit d8c1957

Browse files
authored
Fix formatting exception for unknown property (#1011)
1 parent 289f094 commit d8c1957

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

firestore/src/Converters/AttributedTypeConverter.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ override object DeserializeMap(DeserializationContext context, FieldValueProxy m
136136
"No writable property for Firestore field {0} in type {1}", key, TargetType.FullName));
137137
break;
138138
case UnknownPropertyHandling.Throw:
139-
throw new ArgumentException(String.Format("No writable property for Firestore field {key} in type {0}", TargetType.FullName));
139+
throw new ArgumentException(String.Format(
140+
"No writable property for Firestore field {0} in type {1}", key, TargetType.FullName));
140141
}
141142
}
142143
}

0 commit comments

Comments
 (0)