about summary refs log tree commit diff stats
path: root/112read-byte.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 /112read-byte.subx
parent2d4fb39dac323039bc6557799ab3d9ecaa727599 (diff)
downloadmu-0e9503d739c1e4fcb1ec54ac4ee56d9cc157668e.tar.gz
print call stack on all low-level errors
Diffstat (limited to '112read-byte.subx')
-rw-r--r--112read-byte.subx5
1 files changed, 1 insertions, 4 deletions
diff --git a/112read-byte.subx b/112read-byte.subx
index 0c9af75b..1a18fc04 100644
--- a/112read-byte.subx
+++ b/112read-byte.subx
@@ -39,10 +39,7 @@ $read-byte:end:
     c3/return
 
 $read-byte:abort:
-    (draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0 "read-byte: empty stream" 3 0)  # 3=cyan
-    {
-      eb/jump loop/disp8
-    }
+    (abort "read-byte: empty stream")
     # never gets here
 
 == data