Author SHA1 Message Date
magnus 03c5cc72a5 Patch vulnerable runtime dependencies
pull-request / validate (pull_request) Successful in 1m38s
2026-09-18 16:26:51 +02:00
2 changed files with 3 additions and 7 deletions
+1 -4
View File
@@ -19,11 +19,8 @@
;; log uncaught exceptions in threads ;; log uncaught exceptions in threads
(Thread/setDefaultUncaughtExceptionHandler (Thread/setDefaultUncaughtExceptionHandler
(fn [thread ex] (fn [thread ex]
;; Integrant exceptions include component configuration in ex-data. Logging
;; the exception object can therefore disclose database or cookie secrets.
(log/error {:what :uncaught-exception (log/error {:what :uncaught-exception
:exception-class (.getName (class ex)) :exception ex
:message (.getMessage ex)
:where (str "Uncaught exception on" (.getName thread))}))) :where (str "Uncaught exception on" (.getName thread))})))
-1
View File
@@ -3,6 +3,5 @@
[clojure.test :refer [deftest is]] [clojure.test :refer [deftest is]]
[pmagnus.elprice.core :as core])) [pmagnus.elprice.core :as core]))
(deftest system-state-is-managed-in-an-atom (deftest system-state-is-managed-in-an-atom
(is (instance? clojure.lang.Atom core/system))) (is (instance? clojure.lang.Atom core/system)))