Skip to content

Crashlytics add more clarifying information to unsent reports log #9784

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 10, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,12 @@ - (NSUInteger)unsentReportsCount {
// which should be at the start of the array.
if (validReports.count > FIRCLSMaxUnsentReports) {
NSUInteger deletingCount = validReports.count - FIRCLSMaxUnsentReports;
FIRCLSInfoLog(@"Deleting %lu unsent reports over the limit of %lu to prevent disk space from "
@"filling up. To prevent this make sure to call send/deleteUnsentReports.",
deletingCount, FIRCLSMaxUnsentReports);
FIRCLSInfoLog(
@"Automatic data collection is disabled. Deleting %lu unsent reports over the limit of %lu "
@"to prevent disk space from "
@"filling up. To take action on these reports, call send/deleteUnsentReports. To turn on "
@"automatic data collection, call setCrashlyticsCollectionEnabled with true",
deletingCount, FIRCLSMaxUnsentReports);
}

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