Permalink
Browse files

Added additional error logging

  • Loading branch information...
nicklockwood committed Dec 8, 2012
1 parent 3ef8ef1 commit b88372199f2f27af0a81ca525338fb4c1eda6d75
Showing with 11 additions and 0 deletions.
  1. +1 −0 RELEASE NOTES.md
  2. +10 −0 iRate/iRate.m
View
@@ -2,6 +2,7 @@ Version 1.7.1
- Fixed deprecation warning when targeting iOS6 as the base target - Fixed deprecation warning when targeting iOS6 as the base target
- Added iRateDidPresentStoreKitModal and iRateDidDismissStoreKitModal delegate methods - Added iRateDidPresentStoreKitModal and iRateDidDismissStoreKitModal delegate methods
- Added additional error logging if StoreKit fails to load product info
- Added Ukranian translation - Added Ukranian translation
Version 1.7 Version 1.7
View
@@ -817,6 +817,16 @@ - (void)openRatingsPageInAppStore
if (!result) if (!result)
{ {
//log the error
if (error)
{
NSLog(@"iRate rating process failed because: %@", [error localizedDescription]);
}
else
{
NSLog(@"iRate rating process failed because an unknown error occured");
}
self.ratedThisVersion = NO; self.ratedThisVersion = NO;
if ([self.delegate respondsToSelector:@selector(iRateCouldNotConnectToAppStore:)]) if ([self.delegate respondsToSelector:@selector(iRateCouldNotConnectToAppStore:)])
{ {

0 comments on commit b883721

Please sign in to comment.