Commit 829f3c17 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Fix runtime exception

parent febbd62e
......@@ -343,7 +343,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