From 5ad7e06d79e063265003735a42c27462114b74df Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 21 Feb 2017 18:19:45 +0100 Subject: [PATCH] Print stack trace on console when an exception is raised. --- frontend/src/uxbox/main/ui.cljs | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/uxbox/main/ui.cljs b/frontend/src/uxbox/main/ui.cljs index bedbac41d0..164ccee23c 100644 --- a/frontend/src/uxbox/main/ui.cljs +++ b/frontend/src/uxbox/main/ui.cljs @@ -52,6 +52,7 @@ "A default error handler." [{:keys [status] :as error}] (js/console.error "on-error:" (pr-str error)) + (js/console.error (.-stack error)) (reset! st/loader false) (cond ;; Unauthorized or Auth timeout