🐛 Fixing bug where User data was not properly saved to CoreData

This commit is contained in:
Paddy authored and Patrick Müller committed 2020-12-22 11:30:41 +01:00
1 parent 46551258e2
commit 63b1e56618
5 files changed
+70 -16

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ struct PersistenceController {
if self.context.hasChanges {
do {
try self.context.save()
print("In CoreData.stack.save()")
print("In PersistenceController.shared.save()")
} catch {
let nserror = error as NSError
fatalError("Unresolved error \(nserror), \(nserror.userInfo)")