Liking cljdoc? Tell your friends :D
Clojure only.

sentry-clj.core

A thin wrapper around the official Java library for Sentry.

A thin wrapper around the official Java library for Sentry.
raw docstring

init!clj

(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.
sourceraw docstring

send-eventclj

(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"}}})
```
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close