Skip to content

Commit 2998b0c

Browse files
committed
Add missing try
...
1 parent 3e1ddcd commit 2998b0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ManagedModels/Context/NSManagedObjectContext+Data.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public extension NSManagedObjectContext {
5050
@inlinable
5151
func fetchCount(_ request: NSFetchRequest<NSFetchRequestResult>) throws -> Int
5252
{
53-
count(for: request)
53+
try count(for: request)
5454
}
5555
}
5656

0 commit comments

Comments
 (0)