Send ws messages in verbose format when on development build

This commit is contained in:
Andrey Antukh 2025-04-03 11:10:48 +02:00
parent 1d69941882
commit 0816adbaec

View file

@ -104,7 +104,9 @@
(defn send!
[ws msg]
(-send ws (t/encode-str msg)))
(if *assert*
(-send ws (t/encode-str msg {:type :json-verbose}))
(-send ws (t/encode-str msg))))
(defn close!
[ws]