mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 13:04:30 -08:00
Fix display error thrown from consice fn
This commit is contained in:
@@ -496,9 +496,12 @@ const get_value_explorer = (state, index) => {
|
||||
}
|
||||
|
||||
if(frame.type == 'function_expr' && frame.body.type != 'do') {
|
||||
const result = frame.children[1].result
|
||||
return {
|
||||
index: frame.children[1].index,
|
||||
result: frame.children[1].result
|
||||
result: result.ok
|
||||
? result
|
||||
: find_error_origin_node(frame.children[1]).result
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user