This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-21
Channels
- # beginners (38)
- # boot (88)
- # cljs-dev (142)
- # cljsrn (2)
- # clojars (1)
- # clojure (107)
- # clojure-berlin (2)
- # clojure-italy (8)
- # clojure-russia (76)
- # clojure-spec (325)
- # clojure-taiwan (3)
- # clojure-uk (28)
- # clojurescript (80)
- # clojurewest (2)
- # core-async (36)
- # core-logic (1)
- # cursive (21)
- # datomic (16)
- # dirac (18)
- # docs (2)
- # emacs (1)
- # euroclojure (3)
- # garden (3)
- # gsoc (2)
- # hoplon (3)
- # immutant (4)
- # jobs-discuss (16)
- # lein-figwheel (5)
- # liberator (17)
- # lumo (19)
- # off-topic (2)
- # om (20)
- # onyx (28)
- # pedestal (50)
- # planck (4)
- # re-frame (5)
- # reagent (3)
- # ring-swagger (13)
- # spacemacs (1)
- # specter (43)
- # testing (3)
- # timbre (3)
- # uncomplicate (1)
- # vim (2)
- # yada (4)
I always get an exception when sending a message to a websocket (server -> client): https://gist.github.com/rauhs/7ec77945f94d7ddd40bb44ed253ba3dc
@rauh it seems that the destructuring in :on-close
handler is wrong
(fn [ch & {:keys [code reason]}]
(swap! channels disj ch))
should probably be
(fn [ch {:keys [code reason]}]
(swap! channels disj ch))
It helps to look at part of stacktrace saying that:
java.lang.IllegalArgumentException: No value supplied for key: {:code 1001, :reason ""}
at clojure.lang.PersistentHashMap.create(PersistentHashMap.java:77)
at srs_s.services.live_reload$handle_request$fn__65888.doInvoke(live_reload.clj:40)
(line 40)