Permalink
Browse files

Always logging exceptions

  • Loading branch information...
1 parent 375882b commit 25ce53e8582c7e62932a59385e8c4527e47b2936 @hfossli hfossli committed Mar 11, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 Source/Categories/NSManagedObjectContext+MagicalRecord.m
@@ -1,4 +1,4 @@
-//
+est//
// NSManagedObjectContext+MagicalRecord.m
//
// Created by Saul Mora on 11/23/09.
@@ -168,7 +168,9 @@ - (BOOL) MR_saveWithErrorHandler:(void (^)(NSError *))errorCallback;
}
@catch (NSException *exception)
{
- MRLog(@"Problem saving: %@", (id)[exception userInfo] ?: (id)[exception reason]);
+
+ NSLog(@"[ERROR] Problem saving: %@", (id)[exception userInfo] ?: (id)[exception reason]);
+
}
@finally
{

0 comments on commit 25ce53e

Please sign in to comment.