Compare commits
3
Commits
f08e5f02f1
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
882963615d | ||
|
|
7e8b946ab4 | ||
|
|
d6c9385956 |
@@ -3,6 +3,13 @@
|
||||
|
||||
:deps {org.clojure/clojure {:mvn/version "1.12.3"}
|
||||
|
||||
;; Security overrides for transitive web/runtime dependencies.
|
||||
com.fasterxml.jackson.core/jackson-core {:mvn/version "2.21.4"}
|
||||
com.fasterxml.jackson.core/jackson-databind {:mvn/version "2.21.4"}
|
||||
io.undertow/undertow-core {:mvn/version "2.3.21.Final"}
|
||||
org.jboss.xnio/xnio-api {:mvn/version "3.8.14.Final"}
|
||||
org.jboss.xnio/xnio-nio {:mvn/version "3.8.14.Final"}
|
||||
|
||||
;; Routing
|
||||
metosin/reitit {:mvn/version "0.9.2"}
|
||||
|
||||
|
||||
@@ -19,8 +19,11 @@
|
||||
;; log uncaught exceptions in threads
|
||||
(Thread/setDefaultUncaughtExceptionHandler
|
||||
(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
|
||||
:exception ex
|
||||
:exception-class (.getName (class ex))
|
||||
:message (.getMessage ex)
|
||||
:where (str "Uncaught exception on " (.getName thread))})))
|
||||
|
||||
|
||||
|
||||
@@ -3,5 +3,6 @@
|
||||
[clojure.test :refer [deftest is]]
|
||||
[pmagnus.elprice.core :as core]))
|
||||
|
||||
|
||||
(deftest system-state-is-managed-in-an-atom
|
||||
(is (instance? clojure.lang.Atom core/system)))
|
||||
|
||||
Reference in New Issue
Block a user