mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-24 10:21:40 +01:00
refactor logging functions
This commit is contained in:
@@ -94,7 +94,7 @@ internal extension NSManagedObjectContext {
|
||||
|
||||
HardcoreData.handleError(
|
||||
error,
|
||||
"Failed to save NSManagedObjectContext.")
|
||||
"Failed to save \(NSManagedObjectContext.self).")
|
||||
result = SaveResult(error)
|
||||
}
|
||||
else {
|
||||
@@ -153,7 +153,7 @@ internal extension NSManagedObjectContext {
|
||||
|
||||
HardcoreData.handleError(
|
||||
error,
|
||||
"Failed to save NSManagedObjectContext.")
|
||||
"Failed to save \(NSManagedObjectContext.self).")
|
||||
if let completion = completion {
|
||||
|
||||
GCDQueue.Main.async {
|
||||
|
||||
Reference in New Issue
Block a user