Add better error reporting on template clone operation

This commit is contained in:
Andrey Antukh 2023-11-15 13:28:44 +01:00
parent f1782f746d
commit c022b71b59
3 changed files with 15 additions and 6 deletions

View file

@ -50,6 +50,13 @@
(finally
(js/console.groupEnd message))))
(defn print-cause!
[message cause]
(print-group! message (fn []
(print-data! cause)
(print-explain! cause)
(print-trace! cause))))
(defn on-error
"A general purpose error handler."
[error]