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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |