diff --git a/deps.edn b/deps.edn index 8b01a75..d324654 100644 --- a/deps.edn +++ b/deps.edn @@ -4,7 +4,7 @@ {org.clojure/clojure "1.9.0" org.clojure/tools.logging "0.4.0" com.stuartsierra/component "0.3.2" - io.sentry/sentry-clj "7.4.213" + io.sentry/sentry-clj "7.6.215" spootnik/net "0.3.3-beta24" spootnik/uncaught "0.5.3" metrics-clojure "2.10.0" diff --git a/project.clj b/project.clj index 394ea9f..6644ca4 100644 --- a/project.clj +++ b/project.clj @@ -14,7 +14,7 @@ [org.clojure/clojure "1.10.1"] [org.clojure/tools.logging "1.0.0"] [com.stuartsierra/component "1.0.0"] - [io.sentry/sentry-clj "7.4.213"] + [io.sentry/sentry-clj "7.6.215"] [spootnik/uncaught "0.5.5"] [metrics-clojure "2.10.0"] [metrics-clojure-riemann "2.10.0"] diff --git a/src/spootnik/reporter/sentry.clj b/src/spootnik/reporter/sentry.clj index 5764aa4..ea81dc5 100644 --- a/src/spootnik/reporter/sentry.clj +++ b/src/spootnik/reporter/sentry.clj @@ -101,12 +101,16 @@ (defn init! " + Initializes sentry. By default, external configuration is enabled. + Environment variables to options are documented here: https://docs.sentry.io/platforms/java/configuration/ + Additional options can be found here: https://github.com/getsentry/sentry-clj/tree/master?tab=readme-ov-file#additional-initialisation-options " [{:keys [dsn] :as sentry}] (if-not (in-memory? dsn) - (sentry/init! dsn sentry) + (let [defaults {:enable-external-configuration true}] + (sentry/init! dsn (merge defaults sentry))) (reset! http-requests-payload-stub []))) (defn close! [{:keys [dsn]}]