aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-08-05 13:31:34 -0500
committerColin Okay <colin@cicadas.surf>2022-08-05 13:31:34 -0500
commit6edbca3e259fef4add85523de03efea8b634b6ed (patch)
tree2a79fa5f4e2bc9f9ebe723f317a888c2cfdeaf68
parent88fb5d6074ac4f37ff6cdd4b787db75ec8349850 (diff)
[fix] forgot to wrap command in with-local-state
-rw-r--r--app/app.lisp6
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))))