aboutsummaryrefslogtreecommitdiffstats
path: root/worker/lib/parse.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker/lib/parse.go')
-rw-r--r--worker/lib/parse.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/lib/parse.go b/worker/lib/parse.go
index ad5e0a8b..7f6eb20f 100644
--- a/worker/lib/parse.go
+++ b/worker/lib/parse.go
@@ -167,7 +167,7 @@ func parseEnvelope(h *mail.Header) (*models.Envelope, error) {
if err != nil {
// still return a valid struct plus a sentinel date parsing error
// if only the date parsing failed
- err = fmt.Errorf("%v: %w", DateParseError, err)
+ err = fmt.Errorf("%w: %v", DateParseError, err)
}
return &models.Envelope{
Date: date,