From 4126f0dfb0c799ed830eb5e19a32453677a6a46f 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/Android/WeatherInformation/src/de/example/exampletdd/fragment/map/MapProgressFragment.java b/Android/WeatherInformation/src/de/example/exampletdd/fragment/map/MapProgressFragment.java index 7808d7a..aa4b6e4 100644 --- a/Android/WeatherInformation/src/de/example/exampletdd/fragment/map/MapProgressFragment.java +++ b/Android/WeatherInformation/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