aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2022-05-18 23:42:35 +0200
committerTeddy Wing2022-05-18 23:42:35 +0200
commitb801a3009df391e9dd5b8fc318a512e2422c195c (patch)
tree122e64f314fd98ef9bc4d43a1b4363e01fca269f
parent79471c9b5c7d5bb07dc808c960ed441c9ed7faaa (diff)
downloadwajir-b801a3009df391e9dd5b8fc318a512e2422c195c.tar.bz2
Idea for disabling Lisp debugger on error
Found this variable in the UIOP docs. Haven't tested it yet, but this is an idea to not enter the Lisp interpreter when an unhandled error is triggered. I wonder if we can conditionally only enable this in a release build.
-rw-r--r--src/main.lisp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.lisp b/src/main.lisp
index d74faf6..4f5e1e9 100644
--- a/src/main.lisp
+++ b/src/main.lisp
@@ -1,5 +1,7 @@
(in-package :wajir)
+(defparameter uiop:*lisp-interaction* nil)
+
(defun main ()
;; Query page of issues
;; Start watching issue