mirror of
https://github.com/penpot/penpot.git
synced 2026-04-28 12:48:31 +00:00
🐛 Fix minor issue on logging when cause is nil
This commit is contained in:
parent
2dcb4a155e
commit
84bee9fb93
@ -44,8 +44,9 @@
|
||||
(defn build-message-cause
|
||||
[props]
|
||||
#?(:clj (when-let [[_ cause] (d/seek (fn [[k]] (= k :cause)) props)]
|
||||
(with-out-str
|
||||
(ex/print-throwable cause)))
|
||||
(when cause
|
||||
(with-out-str
|
||||
(ex/print-throwable cause))))
|
||||
:cljs nil))
|
||||
|
||||
(defn build-message
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user