aerc/worker/notmuch
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
..
lib notmuch: fix regression in error handling 2022-09-01 10:05:35 +02:00
eventhandlers.go notmuch: fix cursor movement in threaded view 2022-07-31 20:02:46 +02:00
events.go lint: remove unused structs and functions (unused) 2022-08-04 21:57:48 +02:00
message.go charset: handle unknown charsets more user-friendly 2022-09-25 11:54:23 +02:00
worker.go logging: substitute %w for %v 2022-10-02 18:56:26 +02:00