From 47205b16be1896ed318fa61304ed90bffd844d74 Mon Sep 17 00:00:00 2001
From: celogeek <65178+celogeek@users.noreply.github.com>
Date: Fri, 7 Jun 2024 11:18:16 +0200
Subject: [PATCH] use fatalf instead

---
 internal/pkg/epubimageprocessor/processor.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/internal/pkg/epubimageprocessor/processor.go b/internal/pkg/epubimageprocessor/processor.go
index 8fc5897..212d128 100644
--- a/internal/pkg/epubimageprocessor/processor.go
+++ b/internal/pkg/epubimageprocessor/processor.go
@@ -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 {