diff --git a/SharedCode/NSManagedObjectContext+Observers.swift b/SharedCode/NSManagedObjectContext+Observers.swift index e366a1b..554458d 100644 --- a/SharedCode/NSManagedObjectContext+Observers.swift +++ b/SharedCode/NSManagedObjectContext+Observers.swift @@ -13,7 +13,7 @@ import CoreData public struct ContextDidSaveNotification { public init(note: NSNotification) { - guard note.name == NSManagedObjectContextDidSaveNotification else { fatalError() } + assert(note.name == NSManagedObjectContextDidSaveNotification) notification = note }