diff --git a/ios-galaxyzoo/client/ZooniverseClient.m b/ios-galaxyzoo/client/ZooniverseClient.m index 0ab4c67..6d405bc 100644 --- a/ios-galaxyzoo/client/ZooniverseClient.m +++ b/ios-galaxyzoo/client/ZooniverseClient.m @@ -1138,6 +1138,10 @@ - (void)deleteImagesForSubject:(ZooniverseSubject *)subject - (void)abandonSubjectInMainThread:(ZooniverseSubject *)subject withCoreDataSave:(BOOL)coreDataSave { + if (subject == nil) { + NSLog(@"abandonSubject: subject is nil."); + } + NSLog(@"abandonSubject: Abandoning subject with subjectId: %@", subject.subjectId, nil); //Start asynchronous deletion of the image files.