Fix error log
Smoke test is failing on unrelated code
@@ -19,7 +19,6 @@ import android.os.Build.VERSION;
import android.os.Bundle;
import android.os.Environment;
import android.os.StatFs;
-import android.util.Log;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.tasks.SuccessContinuation;
@@ -231,7 +230,7 @@ class CrashlyticsController {
try {
Utils.awaitEvenIfOnMainThread(handleUncaughtExceptionTask);
} catch (Exception e) {
- Log.e("WILLIS", "ERROR", e);
+ Logger.getLogger().e("Error handling uncaught exception", e);
// Nothing to do in this case.
}
}
