Sends exceptions to honeybadger. This is fork of ring-honeybadger that doesn't assume ring.
This is useful when your service isn't a web server (i.e. - A worker process).
Add to your dependencies in your project.clj
:
[clj-honeybadger "0.3.1"]
Use send-exception!
to send an exception to honeybadger:
(require '[clj-honeybadger.core :as honeybadger])
(try
...
(catch Exception e
(honeybadger/send-exception! e {:api-key "honeybadger-api-key"
:env "production"})))
Can you improve this documentation? These fine people already did:
Jeff Hui & Sheel ChoksiEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close