A thin wrapper around the official Java library for Sentry.
A thin wrapper around the official Java library for Sentry.
(init! dsn)
Initialize Sentry with the provided DSN (null implies a DSN lookup is performed) and the Clojure SentryClientFactory.
Initialize Sentry with the provided DSN (null implies a DSN lookup is performed) and the Clojure SentryClientFactory.
(send-event event)
Sends the given event to Sentry, returning the event's ID.
Supports sending throwables:
(sentry/send-event {:message "oh no",
:throwable e})
Also supports interfaces with arbitrary values, e.g.:
(sentry/send-event {:message "oh no",
:interfaces {:user {:id 100
:email "test@example.com"}}})
Sends the given event to Sentry, returning the event's ID. Supports sending throwables: ``` (sentry/send-event {:message "oh no", :throwable e}) ``` Also supports interfaces with arbitrary values, e.g.: ``` (sentry/send-event {:message "oh no", :interfaces {:user {:id 100 :email "test@example.com"}}}) ```
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close