diff options
Diffstat (limited to 'lib/messageview.go')
-rw-r--r-- | lib/messageview.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/messageview.go b/lib/messageview.go index 8507880b..d7ff1908 100644 --- a/lib/messageview.go +++ b/lib/messageview.go @@ -10,7 +10,7 @@ import ( _ "github.com/emersion/go-message/charset" "git.sr.ht/~rjarry/aerc/lib/crypto" - "git.sr.ht/~rjarry/aerc/logging" + "git.sr.ht/~rjarry/aerc/log" "git.sr.ht/~rjarry/aerc/models" "git.sr.ht/~rjarry/aerc/worker/lib" "git.sr.ht/~rjarry/aerc/worker/types" @@ -158,9 +158,9 @@ func (msv *MessageStoreView) FetchBodyPart(part []int, cb func(io.Reader)) { reader, err := lib.FetchEntityPartReader(msg, part) if err != nil { errMsg := fmt.Errorf("Failed to fetch message part: %w", err) - logging.Errorf(errMsg.Error()) + log.Errorf(errMsg.Error()) if msv.message != nil { - logging.Warnf("Displaying raw message part") + log.Warnf("Displaying raw message part") reader = bytes.NewReader(msv.message) } else { reader = strings.NewReader(errMsg.Error()) |