diff --git a/frontend/src/app/util/websocket.cljs b/frontend/src/app/util/websocket.cljs index 016eb9c0ae..5c82ce1948 100644 --- a/frontend/src/app/util/websocket.cljs +++ b/frontend/src/app/util/websocket.cljs @@ -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]