From 10e32a1347713d8be78732b983dd9ef2d90ba5af Mon Sep 17 00:00:00 2001 From: "gu.martinm@gmail.com" Date: Sun, 21 Sep 2014 22:51:33 +0200 Subject: [PATCH] WeatherInformation: catching Throwable in MapProgressFragment --- src/de/example/exampletdd/fragment/map/MapProgressFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/example/exampletdd/fragment/map/MapProgressFragment.java b/src/de/example/exampletdd/fragment/map/MapProgressFragment.java index 7808d7a..aa4b6e4 100644 --- a/src/de/example/exampletdd/fragment/map/MapProgressFragment.java +++ b/src/de/example/exampletdd/fragment/map/MapProgressFragment.java @@ -112,7 +112,7 @@ public class MapProgressFragment extends Fragment { WeatherLocation weatherLocation = this.doDefaultLocation(latitude, longitude); try { weatherLocation = this.getLocation(latitude, longitude); - } catch (final IOException e) { + } catch (final Throwable e) { // Hopefully nothing goes wrong because of catching Throwable. Log.e(TAG, "GetAddressTask doInBackground exception: ", e); } -- 2.1.4