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