ui.gadgets.worlds: rethrow error so traceback is more obvious.
parent
d64536e43c
commit
52de821e19
|
@ -219,7 +219,7 @@ ui-error-hook [ [ rethrow ] ] initialize
|
||||||
dup [ draw-world* ] with-gl-context
|
dup [ draw-world* ] with-gl-context
|
||||||
flush-layout-cache-hook get call( -- )
|
flush-layout-cache-hook get call( -- )
|
||||||
] [
|
] [
|
||||||
swap f >>active? <world-error> throw
|
swap f >>active? <world-error> rethrow
|
||||||
] recover
|
] recover
|
||||||
] [ drop ] if ;
|
] [ drop ] if ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue