diff options
author | Colin Okay <colin@cicadas.surf> | 2022-08-05 13:31:34 -0500 |
---|---|---|
committer | Colin Okay <colin@cicadas.surf> | 2022-08-05 13:31:34 -0500 |
commit | 6edbca3e259fef4add85523de03efea8b634b6ed (patch) | |
tree | 2a79fa5f4e2bc9f9ebe723f317a888c2cfdeaf68 /app | |
parent | 88fb5d6074ac4f37ff6cdd4b787db75ec8349850 (diff) |
[fix] forgot to wrap command in with-local-state
Diffstat (limited to 'app')
-rw-r--r-- | app/app.lisp | 6 |
1 files changed, 5 insertions, 1 deletions
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)))) |