Skip to content

Commit c715a88

Browse files
committed
Change log level in appropriate places
1 parent b0f1969 commit c715a88

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

firebase-crashlytics/src/main/java/com/google/firebase/crashlytics/internal/common/CrashlyticsController.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -428,8 +428,8 @@ public Task<Void> then(@Nullable AppSettingsData appSettingsData)
428428
throws Exception {
429429
if (appSettingsData == null) {
430430
Logger.getLogger()
431-
.d(
432-
"Did not receive app settings, cannot send reports at crash time.");
431+
.w(
432+
"Received null app settings, cannot send reports at crash time.");
433433
return Tasks.forResult(null);
434434
}
435435
// Data collection is enabled, so it's safe to send the report.
@@ -579,8 +579,8 @@ public Task<Void> then(@Nullable AppSettingsData appSettingsData)
579579
throws Exception {
580580
if (appSettingsData == null) {
581581
Logger.getLogger()
582-
.d(
583-
"Did not receive app settings, cannot send reports during app startup.");
582+
.w(
583+
"Received null app settings, cannot send reports during app startup.");
584584
return Tasks.forResult(null);
585585
}
586586
// Append the most recent org ID to each report file, even if it

firebase-crashlytics/src/main/java/com/google/firebase/crashlytics/internal/common/CrashlyticsUncaughtExceptionHandler.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ public void uncaughtException(Thread thread, Throwable ex) {
4747
isHandlingException.set(true);
4848
try {
4949
if (thread == null) {
50-
Logger.getLogger().d("Could not handle uncaught exception; null thread");
50+
Logger.getLogger().e("Could not handle uncaught exception; null thread");
5151
} else if (ex == null) {
52-
Logger.getLogger().d("Could not handle uncaught exception; null throwable");
52+
Logger.getLogger().e("Could not handle uncaught exception; null throwable");
5353
} else {
5454
crashListener.onUncaughtException(settingsDataProvider, thread, ex);
5555
}

0 commit comments

Comments
 (0)