summaryrefslogtreecommitdiff
path: root/catbird.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@vistahigherlearning.com>2022-10-29 09:07:18 -0400
committerDavid Thompson <dthompson@vistahigherlearning.com>2022-10-29 09:07:18 -0400
commit4950f0e791f9cab3092718c36200d01cef06bf89 (patch)
tree2b2ff29bf9d4bdd60dc6eeef515b6e846ee0366a /catbird.scm
parent1700827a7f4694375226faffcc466709ec8c79d9 (diff)
Add error handling when in developer mode.
Diffstat (limited to 'catbird.scm')
-rw-r--r--catbird.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/catbird.scm b/catbird.scm
index 417cadb..eb08d10 100644
--- a/catbird.scm
+++ b/catbird.scm
@@ -71,6 +71,9 @@
(load* kernel)
(thunk)
(add-overlay))
+ #:error
+ (lambda (e stack)
+ (on-error kernel e stack))
#:draw
(lambda (alpha)
(render kernel alpha))