We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a67e7e commit 68c5ab1Copy full SHA for 68c5ab1
src/main/frontend/worker/rtc/exception.cljs
@@ -57,4 +57,10 @@ the server will put it to s3 and return its presigned-url to clients."}
57
(cond
58
(instance? Cancelled e) (ex-info "missionary.Cancelled" {:message (.-message e)})
59
(instance? js/CloseEvent e) (ex-info "js/CloseEvent" {:type (.-type e)})
60
+
61
+ ;; m/race-failure
62
+ (and (instance? ExceptionInfo e)
63
+ (contains? (ex-data e) :missionary.core/errors))
64
+ (ex-info (ex-message e) (update (ex-data e) :missionary.core/errors (fn [errors] (map e->ex-info errors))))
65
66
:else e))
0 commit comments