Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix typo in panic logger | Moritz Poldrack | 2022-07-10 | 1 | -1/+1 |
| | | | | | Signed-off-by: Moritz Poldrack <git@moritz.sh> Acked-by: Tim Culverhouse <tim@timculverhouse.com> | ||||
* | logging: added a log on panic | Moritz Poldrack | 2022-03-23 | 1 | -0/+56 |
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> |