Skip to content

Commit 2836545

Browse files
committed
Adding a log
1 parent e5bb704 commit 2836545

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/src/main/java/org/thoughtcrime/securesms/database/AttachmentDatabase.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,9 @@ private ThumbnailData generateVideoThumbnail(AttachmentId attachmentId) {
981981

982982
try {
983983
retriever.close();
984-
} catch (IOException e) {}
984+
} catch (IOException e) {
985+
Log.w(TAG, "Error while closing the retriever in AttachmentDatabase > generateVideoThumbnail: "+e.toString());
986+
}
985987

986988
Log.i(TAG, "Generated video thumbnail...");
987989
return new ThumbnailData(bitmap);

0 commit comments

Comments
 (0)