Closed ianic closed 3 years ago
Don't allow ctrl-c to kill cli. Catch it, log that it occurs, close resources (file system logs, nats connections, ...) and then exit. It's important that we log the occurrences of ctrl-c exists from mantil.
Catch also panic, log it then exit.
In the case of ctrl-c print current stack if possible. I'm interested where we stuck.
Don't allow ctrl-c to kill cli. Catch it, log that it occurs, close resources (file system logs, nats connections, ...) and then exit. It's important that we log the occurrences of ctrl-c exists from mantil.