diff --git a/android/src/main/kotlin/com/fluttercandies/photo_manager/core/PhotoManager.kt b/android/src/main/kotlin/com/fluttercandies/photo_manager/core/PhotoManager.kt index 45e368b5..3494f649 100644 --- a/android/src/main/kotlin/com/fluttercandies/photo_manager/core/PhotoManager.kt +++ b/android/src/main/kotlin/com/fluttercandies/photo_manager/core/PhotoManager.kt @@ -264,7 +264,12 @@ class PhotoManager(private val context: Context) { if (cacheFuture.isCancelled) { return@execute } - cacheFuture.get() + + try { + cacheFuture.get() + } catch (e: Exception) { + LogUtils.error(e) + } } } }