From 6edbca3e259fef4add85523de03efea8b634b6ed Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Fri, 5 Aug 2022 13:31:34 -0500 Subject: [fix] forgot to wrap command in with-local-state --- app/app.lisp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/app.lisp b/app/app.lisp index 0ed0b45..dff5dcb 100644 --- a/app/app.lisp +++ b/app/app.lisp @@ -53,5 +53,9 @@ :sub-commands (toplevel/subcommands))) (defun main () - (cli:run (toplevel/command))) + (ol::with-local-state + (handler-case + (cli:run (toplevel/command))) + (error (e) + (format t "unhandled error ~e~%" e)))) -- cgit v1.2.3