Skip to content

Commit

Permalink
Var name
Browse files Browse the repository at this point in the history
  • Loading branch information
HashirRajah committed Sep 26, 2024
1 parent 49d5d38 commit f0fa994
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/android/Thumbnails.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ private static Bitmap thumbnailSmallImage(Options thumbnailOptions) throws Excep
Bitmap bitmap = BitmapFactory.decodeFile(thumbnailOptions.sourcePath, options);

if (bitmap == null) {
ObjectWriter ow = new ObjectMapper().writer().withDefaultPrettyPrinter();
String optionsJSON = ow.writeValueAsString(options);
ObjectWriter objectWriter = new ObjectMapper().writer().withDefaultPrettyPrinter();
String optionsJSON = objectWriter.writeValueAsString(options);
throw new Exception("Could not decode file into bitmap object { sourcePath: " + thumbnailOptions.sourcePath + " options: " + optionsJSON + " }");
}

Expand Down

0 comments on commit f0fa994

Please sign in to comment.