diff --git a/internal/pkg/localFileStructure/imageList.go b/internal/pkg/localFileStructure/imageList.go index a8b249d..0737637 100644 --- a/internal/pkg/localFileStructure/imageList.go +++ b/internal/pkg/localFileStructure/imageList.go @@ -52,7 +52,7 @@ func GetImageList(fileSystem map[string]*FilesystemNode) ([]*ImageNode, error) { case <-finished: case err := <-errChannel: if err != nil { - logrus.Errorf("Error during local image processing: %S", err) + logrus.Errorf("Error during local image processing: %s", err) return nil, err } } diff --git a/internal/pkg/piwigo/PiwigoContext.go b/internal/pkg/piwigo/PiwigoContext.go index e2f5d6e..23f406a 100644 --- a/internal/pkg/piwigo/PiwigoContext.go +++ b/internal/pkg/piwigo/PiwigoContext.go @@ -66,7 +66,7 @@ func (context *PiwigoContext) postForm(formData url.Values) (resp *http.Response client := http.Client{Jar: context.Cookies} response, err := client.PostForm(context.url, formData) if err != nil { - logrus.Errorln("The HTTP request failed with error %s", err) + logrus.Errorf("The HTTP request failed with error %s", err) return nil, err } return response, nil