Commit ec8831a8 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

Fix runtime exception

(cherry picked from commit 829f3c17)
parent a13306cc
......@@ -401,7 +401,13 @@ static NSString *kDecrapifyTitles = @"MLDecrapifyTitles";
if (!moc)
BOOL success = [moc save:&error];
BOOL success = NO;
@try {
success = [moc save:&error];
@catch (NSException *exception) {
NSLog(@"Saving changes failed");
NSAssert1(success, @"Can't save: %@", error);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment