Fix cljs/clj bug
This commit is contained in:
parent
ff1e1345b8
commit
b12b49c197
|
@ -990,7 +990,7 @@
|
|||
(let [base-ctx (volatile! {::parent (volatile! ctx)})]
|
||||
(try
|
||||
(interpret-ast parsed base-ctx)
|
||||
(catch Throwable e
|
||||
(catch #?(:clj Throwable :cljs js/Object) e
|
||||
{::data/error true
|
||||
:token (get-in (ex-data e) [:ast :token])
|
||||
:line (get-in (ex-data e) [:ast :token :line])
|
||||
|
|
Loading…
Reference in New Issue
Block a user