Skip to content

Commit 4caff89

Browse files
committed
SSYAlert no longer logs warning to console if recovery attempter is nil.
1 parent 972b440 commit 4caff89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SSYAlert.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ + (NSInteger)tryRecoveryAttempterForError:(NSError*)error
602602
[recoveryAttempter attemptRecoveryFromError:deepestRecoverableError
603603
optionIndex:recoveryOptionIndex] ;
604604
}
605-
else {
605+
else if (recoveryAttempter != nil) {
606606
NSLog(@"Internal Error 342-5587. Given Recovery Attempter %@ does not respond to any attemptRecoveryFromError:... method", recoveryAttempter) ;
607607
}
608608
}

0 commit comments

Comments
 (0)