diff --git a/app/src/main/java/foundation/e/blisslauncher/features/weather/WeatherUpdater.java b/app/src/main/java/foundation/e/blisslauncher/features/weather/WeatherUpdater.java index ad404d397760fe89e268cc731ba9cfe251ac9455..a9b1f1b595ffb9a600ce724ccf193c3ae0f991b3 100644 --- a/app/src/main/java/foundation/e/blisslauncher/features/weather/WeatherUpdater.java +++ b/app/src/main/java/foundation/e/blisslauncher/features/weather/WeatherUpdater.java @@ -125,7 +125,11 @@ public class WeatherUpdater { ? new FusedLocationFetcher(mWeakContext.get(), this::onNewLocationFetched) : new NetworkGpsLocationFetcher(mWeakContext.get(), this::onNewLocationFetched); - locationFetcher.fetchLocation(); + try { + locationFetcher.fetchLocation(); + } catch (Exception exception) { + Timber.tag(TAG).w(exception, "Could not fetch location"); + } } protected boolean hasMissingPermissions() {