aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/importer/utils.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/importer/utils.go b/pkg/importer/utils.go
index 1af34ed..2fe73e8 100644
--- a/pkg/importer/utils.go
+++ b/pkg/importer/utils.go
@@ -7,7 +7,6 @@ import (
"fmt"
"io"
"io/ioutil"
- "log"
"mime/multipart"
"net/mail"
"os"
@@ -75,7 +74,8 @@ func getBodyParts(body io.Reader, boundary string) map[string]string {
}
slurp, err := ioutil.ReadAll(p)
if err != nil {
- log.Fatal(err)
+ fmt.Println("Error while reading the body:")
+ fmt.Println(err)
}
bodyParts[p.Header.Get("Content-Type")] = string(slurp)
}