[Sandbox Configuration] Do not delete path on fail
Do not delete path from storage when save fails. Signed-off-by: Christopher Snowhill <kode54@gmail.com>swiftingly
parent
bc23ed6c24
commit
51f8536943
|
@ -70,7 +70,6 @@
|
|||
[pc.viewContext save:&err];
|
||||
if(err) {
|
||||
ALog(@"Error saving bookmark: %@", [err localizedDescription]);
|
||||
[pc.viewContext deleteObject:token];
|
||||
} else {
|
||||
[self addObject:@{ @"path": [url path], @"valid": NSLocalizedPrefString(@"ValidYes") }];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue