From da077e019575991d043fc613158943969b3a1f97 Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Wed, 21 Mar 2018 13:17:55 +0100 Subject: [PATCH] catch all exceptions Signed-off-by: tobiasKaminsky --- .../com/owncloud/android/datamodel/ThumbnailsCacheManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java b/src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java index 8f5de0b255..efcc15d478 100644 --- a/src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java +++ b/src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java @@ -125,7 +125,7 @@ public class ThumbnailsCacheManager { } else { throw new FileNotFoundException("Thumbnail cache could not be opened"); } - } catch (java.io.IOException e) { + } catch (Exception e) { Log_OC.d(TAG, e.getMessage()); mThumbnailCache = null; }