diff --git a/frontend/src/app/main/worker.cljs b/frontend/src/app/main/worker.cljs index 401d2822d..8bd60284f 100644 --- a/frontend/src/app/main/worker.cljs +++ b/frontend/src/app/main/worker.cljs @@ -11,7 +11,7 @@ (defn on-error [error] - (js/console.error "Error on worker" error)) + (js/console.error "Error on worker" (pr-str error))) (defonce instance (atom nil)) diff --git a/frontend/src/app/worker.cljs b/frontend/src/app/worker.cljs index ea54c3931..52bb72451 100644 --- a/frontend/src/app/worker.cljs +++ b/frontend/src/app/worker.cljs @@ -53,7 +53,7 @@ (post {:payload result})) (reply-error [err] - (.error js/console "error" err) + (.error js/console "error" (pr-str err)) (post {:error {:data (ex-data err) :message (ex-message err)}}))