Parcourir la source

catch all exceptions

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky il y a 7 ans
Parent
commit
da077e0195

+ 1 - 1
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;
                     }