mirror of https://github.com/halo-dev/halo
Make more tolerant of reading image (#1298)
parent
c22348e03a
commit
3019fe0d34
|
@ -152,7 +152,7 @@ public class LocalFileHandler implements FileHandler {
|
||||||
// Set thumb path
|
// Set thumb path
|
||||||
return thumbnailSubFilePath;
|
return thumbnailSubFilePath;
|
||||||
}
|
}
|
||||||
} catch (IOException e) {
|
} catch (Throwable e) {
|
||||||
log.warn("Failed to open image file.", e);
|
log.warn("Failed to open image file.", e);
|
||||||
}
|
}
|
||||||
return subFilePath;
|
return subFilePath;
|
||||||
|
|
Loading…
Reference in New Issue