Skip to content

Commit c4c3d2f

Browse files
authored
Crashlytics add more clarifying information to unsent reports log (#9784)
1 parent 5182a31 commit c4c3d2f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Crashlytics/Crashlytics/Controllers/FIRCLSExistingReportManager.m

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,12 @@ - (NSUInteger)unsentReportsCount {
151151
// which should be at the start of the array.
152152
if (validReports.count > FIRCLSMaxUnsentReports) {
153153
NSUInteger deletingCount = validReports.count - FIRCLSMaxUnsentReports;
154-
FIRCLSInfoLog(@"Deleting %lu unsent reports over the limit of %lu to prevent disk space from "
155-
@"filling up. To prevent this make sure to call send/deleteUnsentReports.",
156-
deletingCount, FIRCLSMaxUnsentReports);
154+
FIRCLSInfoLog(
155+
@"Automatic data collection is disabled. Deleting %lu unsent reports over the limit of %lu "
156+
@"to prevent disk space from "
157+
@"filling up. To take action on these reports, call send/deleteUnsentReports. To turn on "
158+
@"automatic data collection, call setCrashlyticsCollectionEnabled with true",
159+
deletingCount, FIRCLSMaxUnsentReports);
157160
}
158161

159162
// Not that validReports is sorted, delete any reports at indices > MAX_UNSENT_REPORTS, and

0 commit comments

Comments
 (0)