aerc/worker
Koni Marti dc299cc8ad logging: substitute %w for %v
Subsitute the format specifier %w for %v in the logging facility. The
logging functions use a fmt.Sprintf call behind the scene which does not
recognize %w. %w should be used in fmt.Errorf when you want to wrap
errors. Hence, the log entries that use %w are improperly formatted like
this:

ERROR 2022/10/02 09:13:57.724529 worker.go:439: could not get message
info %!w(*fmt.wrapError=&{could not get structure: [snip] })
      ^

Links: https://go.dev/blog/go1.13-errors
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Moritz Poldrack <moritz@poldrack.dev>
2022-10-02 18:56:26 +02:00
..
handlers go.mod: change base git url 2021-11-05 10:21:45 +01:00
imap imap,smtp: add XOAUTH2 support 2022-10-01 15:47:33 +02:00
lib lib: parse address header fields to utf-8 2022-09-29 16:51:53 +02:00
maildir logging: substitute %w for %v 2022-10-02 18:56:26 +02:00
mbox logging: substitute %w for %v 2022-10-02 18:56:26 +02:00
notmuch logging: substitute %w for %v 2022-10-02 18:56:26 +02:00
types logging: substitute %w for %v 2022-10-02 18:56:26 +02:00
handler_notmuch.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
worker.go logging: use level-based logger functions 2022-07-23 22:52:15 +02:00
worker_enabled.go mbox: implement an mbox backend worker 2022-07-14 23:14:45 +02:00