From 95b50fbbe351b871596f4b9380ef61453b6d5742 Mon Sep 17 00:00:00 2001 From: skleest Date: Thu, 19 Jan 2017 20:18:24 -0800 Subject: [PATCH] error console fix --- RCTAppleHealthKit/RCTAppleHealthKit+Methods_Mindfulness.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RCTAppleHealthKit/RCTAppleHealthKit+Methods_Mindfulness.m b/RCTAppleHealthKit/RCTAppleHealthKit+Methods_Mindfulness.m index 3fe42f0..b14ef81 100644 --- a/RCTAppleHealthKit/RCTAppleHealthKit+Methods_Mindfulness.m +++ b/RCTAppleHealthKit/RCTAppleHealthKit+Methods_Mindfulness.m @@ -30,7 +30,7 @@ [self.healthStore saveObject:sample withCompletion:^(BOOL success, NSError *error) { if (!success) { NSLog(@"An error occured saving the mindful session sample %@. The error was: %@.", sample, error); - callback(@[RCTMakeError(@"An error occured saving the step count sample", error, nil)]); + callback(@[RCTMakeError(@"An error occured saving the mindful session sample", error, nil)]); return; } callback(@[[NSNull null], @(value)]); -- 2.26.2