Skip to content

Commit

Permalink
note the unsupported type in the fatal error
Browse files Browse the repository at this point in the history
  • Loading branch information
darinf committed Feb 15, 2024
1 parent ffb9d2f commit d2a8730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/FirebaseFirestore/Query+Swift.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ extension Query {

private func firestoreValueOrFail(_ value: Any) -> firebase.firestore.FieldValue {
guard let value = FirestoreDataConverter.firestoreValue(field: value) else {
fatalError("Unexpected value type")
fatalError("Unexpected value type: \(type(of: value))")
}
return value
}
Expand Down

0 comments on commit d2a8730

Please sign in to comment.