]> gitweb.factorcode.org Git - factor.git/commitdiff
ui.tools.traceback: fix use of error-in-pprint.
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 3 Jan 2022 04:53:08 +0000 (20:53 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 3 Jan 2022 04:53:08 +0000 (20:53 -0800)
basis/ui/tools/traceback/traceback.factor

index 2db960e0122d9a89a679402207688a698cf2b9f1..3cc765c9bc5d72395f19647b95a3a13e6f83917e 100644 (file)
@@ -1,7 +1,7 @@
 ! Copyright (C) 2006, 2010 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays continuations fonts inspector kernel
-models models.arrow prettyprint sequences ui.commands ui.gadgets
+USING: accessors arrays fonts inspector kernel models
+models.arrow prettyprint sequences ui.commands ui.gadgets
 ui.gadgets.labeled ui.gadgets.panes ui.gadgets.scrollers
 ui.gadgets.status-bar ui.gadgets.tables ui.gadgets.toolbar
 ui.gadgets.tracks ui.gestures ui.theme ui.tools.common ;
@@ -11,8 +11,7 @@ IN: ui.tools.traceback
 TUPLE: stack-entry object string ;
 
 : <stack-entry> ( object -- stack-entry )
-    dup [ unparse-short ] [ drop error-in-pprint ] recover
-    stack-entry boa ;
+    dup unparse-short stack-entry boa ;
 
 SINGLETON: stack-entry-renderer