about summary refs log tree commit diff stats
path: root/123slice.subx
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-05-15 00:15:24 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-05-15 00:15:24 -0700
commit0e9503d739c1e4fcb1ec54ac4ee56d9cc157668e (patch)
treef989a42a8feffbeb00608c4c5a5b5d2598824d80 /123slice.subx
parent2d4fb39dac323039bc6557799ab3d9ecaa727599 (diff)
downloadmu-0e9503d739c1e4fcb1ec54ac4ee56d9cc157668e.tar.gz
print call stack on all low-level errors
Diffstat (limited to '123slice.subx')
-rw-r--r--123slice.subx10
1 files changed, 2 insertions, 8 deletions
diff --git a/123slice.subx b/123slice.subx
index 01c29290..3bd6e4d9 100644
--- a/123slice.subx
+++ b/123slice.subx
@@ -848,10 +848,7 @@ $write-slice:end:
     c3/return
 
 $write-slice:abort:
-    (draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0 "write-slice: out of space" 3 0)  # 3=cyan
-    {
-      eb/jump loop/disp8
-    }
+    (abort "write-slice: out of space")
     # never gets here
 
 test-write-slice:
@@ -970,10 +967,7 @@ $slice-to-string:end:
     c3/return
 
 $slice-to-string:abort:
-    (draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0 "slice-to-string: out of space\n" 3 0)  # 3=cyan
-    {
-      eb/jump loop/disp8
-    }
+    (abort "slice-to-string: out of space")
     # never gets here
 
 test-slice-to-string: