Add cause stack trace logging on ui error boundary

This commit is contained in:
Andrey Antukh
2025-10-21 13:49:34 +02:00
committed by Belén Albeza
parent fc4b717287
commit 024697ff87

View File

@@ -34,6 +34,7 @@
;; very small amount of time, so we debounce for 100ms for
;; avoid duplicate and redundant reports
(gfn/debounce (fn [error info]
(js/console.log "Cause stack: \n" (.-stack error))
(js/console.error
"Component trace: \n"
(unchecked-get info "componentStack")