Skip to content

Commit

Permalink
use single alias
Browse files Browse the repository at this point in the history
  • Loading branch information
mping-exo committed Mar 20, 2024
1 parent 9999552 commit ad8fa12
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/spootnik/reporter/sentry.clj
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
(ns spootnik.reporter.sentry
(:require
[sentry-clj.core :as sentry]
[sentry-clj.core :as sentry-io]
[manifold.deferred :as d]
[clojure.string :as str]
[clojure.tools.logging :refer [error]]
Expand Down Expand Up @@ -85,7 +84,7 @@
(let [event (e->sentry-event e (merge legacy-options sentry) tags)]
(if-not (in-memory? dsn)
(-> (try
(sentry-io/send-event event)
(sentry/send-event event)
(catch Exception e
(d/error-deferred e)))

Expand Down

0 comments on commit ad8fa12

Please sign in to comment.