This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-22
Channels
- # announcements (2)
- # babashka (64)
- # beginners (41)
- # calva (4)
- # cider (1)
- # clj-kondo (78)
- # cljdoc (31)
- # cljsrn (4)
- # clojars (2)
- # clojure (109)
- # clojure-germany (1)
- # clojure-italy (8)
- # clojure-nl (2)
- # clojure-spec (8)
- # clojure-uk (28)
- # clojurescript (61)
- # code-reviews (2)
- # cryogen (2)
- # cursive (23)
- # datomic (21)
- # duct (15)
- # fulcro (37)
- # graalvm (17)
- # graphql (3)
- # jackdaw (3)
- # joker (11)
- # lein-figwheel (4)
- # malli (42)
- # off-topic (97)
- # pathom (4)
- # pedestal (1)
- # portkey (3)
- # re-frame (7)
- # reagent (13)
- # reitit (2)
- # shadow-cljs (54)
- # spacemacs (1)
Hi, How do you guys deal with exceptions? I am using Sente for communication between app and backend but if backend is not online or wifi/mobile data is off i get red screen with
console.error: "ERROR [taoensso.sente:1058] - WebSocket error: [object Object]"
What i would like to have is some kind of modal/popup that says 'server error, restart the app' or something instead of it breaking like this. Does anyone have any suggestion?I have an :http
re-frame fx that accepts an :on-failure
key and also has a default :http-no-on-failure
fx when one isn’t supplied. I’m not sure how that would work with Sente though, I haven’t used it.