aerc/worker/imap
Moritz Poldrack ae83373fa6 logging: added a log on panic
Since panics still regularly "destroy" the terminal, it is hard to get a
stack trace for panics you do not anticipate. This commit adds a panic
handler that automatically creates a logfile inside the current working
directory.

It has to be added to every goroutine that is started and will repair
the terminal on a panic.

Signed-off-by: Moritz Poldrack <git@moritz.sh>
Acked-by: Robin Jarry <robin@jarry.cc>
2022-03-23 20:56:09 +01:00
..
create.go go vet: composite literal uses unkeyed fields 2022-03-18 13:33:16 +01:00
fetch.go logging: added a log on panic 2022-03-23 20:56:09 +01:00
flags.go logging: added a log on panic 2022-03-23 20:56:09 +01:00
imap.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
list.go logging: added a log on panic 2022-03-23 20:56:09 +01:00
movecopy.go go vet: composite literal uses unkeyed fields 2022-03-18 13:33:16 +01:00
open.go go vet: composite literal uses unkeyed fields 2022-03-18 13:33:16 +01:00
remove.go go vet: composite literal uses unkeyed fields 2022-03-18 13:33:16 +01:00
search.go Add flag based search options 2020-07-25 08:08:08 +02:00
worker.go logging: added a log on panic 2022-03-23 20:56:09 +01:00