aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/tau/events.cljs
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2022-12-30 21:29:03 +0100
committerMiguel Ángel Moreno <mail@migalmoreno.com>2022-12-30 21:29:58 +0100
commit7875ccb4b297c5f05d1d14376937433a85a66533 (patch)
treedee1eb681e99f0f1d931998912977b9484190c43 /src/frontend/tau/events.cljs
parent756876def2e3ff1955b07946d0569912264aa905 (diff)
feat(frontend): Log the response on bad responses
Diffstat (limited to 'src/frontend/tau/events.cljs')
-rw-r--r--src/frontend/tau/events.cljs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/frontend/tau/events.cljs b/src/frontend/tau/events.cljs
index 0e43688..e74d124 100644
--- a/src/frontend/tau/events.cljs
+++ b/src/frontend/tau/events.cljs
@@ -69,6 +69,7 @@
(rf/reg-event-db
::bad-response
(fn [db [_ res]]
+ (js/console.log res)
(assoc db :http-response (get-in res [:response :error]))))
(rf/reg-event-db