aerc/commands/account
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
..
account.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
cf.go statusline: make statusline folder-specific 2022-03-23 20:55:30 +01:00
clear.go statusline: implement per-account status 2022-03-18 23:42:07 +01:00
compose.go logging: added a log on panic 2022-03-23 20:56:09 +01:00
connection.go statusline: implement per-account status 2022-03-18 23:42:07 +01:00
expand-folder.go commands: add expand-folder and collapse-folder 2022-02-23 21:09:01 +01:00
mkdir.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
next-folder.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
next-result.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
next.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
recover.go logging: added a log on panic 2022-03-23 20:56:09 +01:00
rmdir.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
search.go statusline: implement per-account status 2022-03-18 23:42:07 +01:00
select.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
sort.go commands: use SelectedAccountUiConfig instead of explicit nil check 2022-03-16 17:02:36 +01:00
view.go aerc: always check SelectedAccount return value 2022-02-25 13:56:53 +01:00