Make more tolerant of reading image (#1298)

pull/1301/head^2
John Niang 2021-03-06 01:10:52 +08:00 committed by GitHub
parent c22348e03a
commit 3019fe0d34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ public class LocalFileHandler implements FileHandler {
// Set thumb path
return thumbnailSubFilePath;
}
} catch (IOException e) {
} catch (Throwable e) {
log.warn("Failed to open image file.", e);
}
return subFilePath;