diff --git a/frontend/src/app/main/ui.cljs b/frontend/src/app/main/ui.cljs index d5c02a297..b2f5e67e9 100644 --- a/frontend/src/app/main/ui.cljs +++ b/frontend/src/app/main/ui.cljs @@ -225,8 +225,7 @@ (ts/schedule (st/emitf (dm/show {:content "Unexpected validation error (server side)." - :type :error - :timeout 3000}))) + :type :error}))) ;; Print to the console some debug info. (js/console.group "Validation Error") @@ -245,8 +244,7 @@ [{:keys [data stack message context] :as error}] (ts/schedule (st/emitf (dm/show {:content "Internal error: assertion." - :type :error - :timeout 3000}))) + :type :error}))) ;; Print to the console some debugging info (js/console.group message) @@ -269,8 +267,8 @@ (ts/schedule (st/emitf (dm/show {:content "Something wrong has happened (on backend)." - :type :error - :timeout 3000}))) + :type :error}))) + (js/console.group "Internal Server Error:") (js/console.error "hint:" (or (:hint data) (:message data))) (js/console.info diff --git a/frontend/src/app/main/ui/viewer/header.cljs b/frontend/src/app/main/ui/viewer/header.cljs index e38e7b24b..59310a1de 100644 --- a/frontend/src/app/main/ui/viewer/header.cljs +++ b/frontend/src/app/main/ui/viewer/header.cljs @@ -73,7 +73,7 @@ (wapi/write-to-clipboard link) (st/emit! (dm/show {:type :info :content "Link copied successfuly!" - :timeout 2000})))] + :timeout 3000})))] [:* [:span.btn-primary.btn-small {:alt (t locale "viewer.header.share.title")