Skip to content

Commit

Permalink
Try catch request cache thumbnail (#975)
Browse files Browse the repository at this point in the history
  • Loading branch information
masewo authored Aug 23, 2023
1 parent 54292c5 commit db972a1
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
}
Expand Down

0 comments on commit db972a1

Please sign in to comment.