aerc/worker/notmuch
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
..
lib format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
eventhandlers.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
events.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
message.go maildir,notmuch: avoid leaking open files 2022-01-19 20:18:00 +01:00
worker.go logging: added a log on panic 2022-03-23 20:56:09 +01:00