mirror of
https://github.com/penpot/penpot.git
synced 2025-06-04 04:51:38 +02:00
✨ Add better error reporting on template clone operation
This commit is contained in:
parent
f1782f746d
commit
c022b71b59
3 changed files with 15 additions and 6 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue