Skip to content

Commit

Permalink
Make more tolerant of reading image (#1298)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnNiang authored Mar 5, 2021
1 parent c22348e commit 3019fe0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public UploadResult upload(MultipartFile file) {
// Set thumb path
return thumbnailSubFilePath;
}
} catch (IOException e) {
} catch (Throwable e) {
log.warn("Failed to open image file.", e);
}
return subFilePath;
Expand Down

0 comments on commit 3019fe0

Please sign in to comment.