diff --git a/Tools/SOGoToolBackup.m b/Tools/SOGoToolBackup.m index 88ed1ac62..5c28cb0d0 100644 --- a/Tools/SOGoToolBackup.m +++ b/Tools/SOGoToolBackup.m @@ -277,6 +277,13 @@ // forKey: @"displayname"]; records = [gcsFolder fetchFields: fields fetchSpecification: nil]; + + if (!records) + { + NSLog(@"Unable to extract records for folder %@", folder); + return NO; + } + [tableRecord setObject: records forKey: @"records"]; [tableRecord setObject: [self fetchFolderDisplayName: folder withFM: fm]