Skip to content

Commit

Permalink
Fix formatting exception for unknown property (#1011)
Browse files Browse the repository at this point in the history
  • Loading branch information
nbadal committed May 2, 2024
1 parent 289f094 commit d8c1957
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion firestore/src/Converters/AttributedTypeConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ internal sealed class AttributedTypeConverter : MapConverterBase {
"No writable property for Firestore field {0} in type {1}", key, TargetType.FullName));
break;
case UnknownPropertyHandling.Throw:
throw new ArgumentException(String.Format("No writable property for Firestore field {key} in type {0}", TargetType.FullName));
throw new ArgumentException(String.Format(
"No writable property for Firestore field {0} in type {1}", key, TargetType.FullName));
}
}
}
Expand Down

0 comments on commit d8c1957

Please sign in to comment.