diff --git a/SUUpdater.m b/SUUpdater.m index 78347f47..c89517a2 100644 --- a/SUUpdater.m +++ b/SUUpdater.m @@ -225,7 +225,15 @@ static NSString * const SUUpdaterDefaultsObservationContext = @"SUUpdaterDefault -(void) putFeedURLIntoDictionary: (NSMutableDictionary*)theDict // You release this. { - [theDict setObject: [self feedURL] forKey: @"feedURL"]; + NSURL *feedURL = [self feedURL]; + if (feedURL != nil) + { + [theDict setObject:feedURL forKey: @"feedURL"]; + } + else + { + NSLog(@"Cannot put feedURL into dictionary: feedURL is nil"); + } } -(void) checkForUpdatesInBgReachabilityCheckWithDriver: (SUUpdateDriver*)inDriver /* RUNS ON ITS OWN THREAD */