mirror of
https://github.com/celogeek/go-comic-converter.git
synced 2025-05-24 07:42:37 +02:00
use fatalf instead
This commit is contained in:
parent
291c8983a4
commit
47205b16be
@ -83,7 +83,7 @@ func (e EPUBImageProcessor) Load() (images []epubimage.EPUBImage, err error) {
|
||||
e.EPUBOptions.Image.AutoSplitDoublePage && !e.EPUBOptions.Image.KeepDoublePageIfSplit) {
|
||||
if err = imgStorage.Add(img.EPUBImgPath(), img.Raw, e.Image.Quality); err != nil {
|
||||
_ = bar.Close()
|
||||
utils.Fatalln("error with %s: %s", input.Name, err)
|
||||
utils.Fatalf("error with %s: %s", input.Name, err)
|
||||
}
|
||||
// do not keep raw image except for cover
|
||||
if img.Id > 0 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user